<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using jQuery to directly call ASP.NET AJAX page methods</title>
	<atom:link href="http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 16 May 2012 23:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery » Coding Still</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-63078</link>
		<dc:creator>ASP.NET and Ajax. All about update panels, web methods, page methods and jQuery » Coding Still</dc:creator>
		<pubDate>Sun, 26 Feb 2012 15:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-63078</guid>
		<description>[...] Using jQuery to directly call ASP.NET AJAX page methods [...]</description>
		<content:encoded><![CDATA[<p>[...] Using jQuery to directly call ASP.NET AJAX page methods [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Natasha</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-47227</link>
		<dc:creator>Natasha</dc:creator>
		<pubDate>Thu, 10 Nov 2011 09:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-47227</guid>
		<description>Thanks Dave!  Worked great :)</description>
		<content:encoded><![CDATA[<p>Thanks Dave!  Worked great :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-47110</link>
		<dc:creator>Joseph</dc:creator>
		<pubDate>Thu, 03 Nov 2011 09:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-47110</guid>
		<description>Great article, I was wondering if the Page method has to be static , this article answered my question.</description>
		<content:encoded><![CDATA[<p>Great article, I was wondering if the Page method has to be static , this article answered my question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How run jQuery Use HttpHandler &#124; Data Milk</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-47072</link>
		<dc:creator>How run jQuery Use HttpHandler &#124; Data Milk</dc:creator>
		<pubDate>Tue, 01 Nov 2011 12:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-47072</guid>
		<description>[...] the original url syntax that you had used is typically used for invoking page methods &#8211; see this article if that&#8217;s what you want to achieve. Article source: [...]</description>
		<content:encoded><![CDATA[<p>[...] the original url syntax that you had used is typically used for invoking page methods &#8211; see this article if that&#8217;s what you want to achieve. Article source: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46992</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 27 Oct 2011 08:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46992</guid>
		<description>Hi,
I have the following problem.
I have given an object as return value in the function,  this does not work under Mono. 
Now I&#039;ve done it with a string, an this is the result (not works)

{&quot;d&quot;:&quot;{\&quot;TEST\&quot;:\&quot;0\&quot;,\&quot;TEST2\&quot;:\&quot;0\&quot;,\&quot;TEST3\&quot;:false,\&quot;TEST4\&quot;:\&quot;-\&quot;,\&quot;TEST5\&quot;:\&quot;-\&quot;,\&quot;Msg\&quot;:\&quot;yyy.\&quot;,\&quot;TEST6\&quot;:\&quot;zzz\&quot;}&quot;}


This works under windows (debug) with return a object but not under mono.
{&quot;d&quot;:{&quot;__type&quot;:&quot;clsMyType&quot;,&quot;TEST&quot;:&quot;0&quot;,&quot;TEST2&quot;:&quot;0&quot;,&quot;TEST3&quot;:false,&quot;TEST4&quot;:&quot;-&quot;,&quot;TEST5&quot;:&quot;-&quot;,&quot;Msg&quot;:&quot;yyy.&quot;,&quot;TEST6&quot;:&quot;zzz&quot;}}

Greetings</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have the following problem.<br />
I have given an object as return value in the function,  this does not work under Mono.<br />
Now I&#8217;ve done it with a string, an this is the result (not works)</p>
<p>{&#8220;d&#8221;:&#8221;{\&#8221;TEST\&#8221;:\&#8221;0\&#8221;,\&#8221;TEST2\&#8221;:\&#8221;0\&#8221;,\&#8221;TEST3\&#8221;:false,\&#8221;TEST4\&#8221;:\&#8221;-\&#8221;,\&#8221;TEST5\&#8221;:\&#8221;-\&#8221;,\&#8221;Msg\&#8221;:\&#8221;yyy.\&#8221;,\&#8221;TEST6\&#8221;:\&#8221;zzz\&#8221;}&#8221;}</p>
<p>This works under windows (debug) with return a object but not under mono.<br />
{&#8220;d&#8221;:{&#8220;__type&#8221;:&#8221;clsMyType&#8221;,&#8221;TEST&#8221;:&#8221;0&#8243;,&#8221;TEST2&#8243;:&#8221;0&#8243;,&#8221;TEST3&#8243;:false,&#8221;TEST4&#8243;:&#8221;-&#8221;,&#8221;TEST5&#8243;:&#8221;-&#8221;,&#8221;Msg&#8221;:&#8221;yyy.&#8221;,&#8221;TEST6&#8243;:&#8221;zzz&#8221;}}</p>
<p>Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asp.Net MVC compared to Asp.Net Web Forms - does it really matters?</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46430</link>
		<dc:creator>Asp.Net MVC compared to Asp.Net Web Forms - does it really matters?</dc:creator>
		<pubDate>Tue, 11 Oct 2011 19:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46430</guid>
		<description>[...] support Ajax calls and actually that is all we need. If you stick with ASP.NET Web Forms then  use web methods with the ScriptMethodAttribute. In case of ASP.NET MVC it is even simpler. Just define a controller [...]</description>
		<content:encoded><![CDATA[<p>[...] support Ajax calls and actually that is all we need. If you stick with ASP.NET Web Forms then  use web methods with the ScriptMethodAttribute. In case of ASP.NET MVC it is even simpler. Just define a controller [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46395</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 10 Oct 2011 16:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46395</guid>
		<description>You can change the TextBox&#039;s value on the client-side to do that. If your TextBox&#039;s ID were &lt;code&gt;Result&lt;/code&gt;, like the div in the example, you could update its value like this:

&lt;pre lang=&quot;javascript&quot;&gt;      success: function(msg) {
        // Notice the change from .text() to .val()
        $(&quot;#Result&quot;).val(msg.d);
      }&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>You can change the TextBox&#8217;s value on the client-side to do that. If your TextBox&#8217;s ID were <code>Result</code>, like the div in the example, you could update its value like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">      success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>msg<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #006600; font-style: italic;">// Notice the change from .text() to .val()</span>
        $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#Result&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span>msg.<span style="color: #660066;">d</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46394</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 10 Oct 2011 15:51:57 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46394</guid>
		<description>I have implmeneted the test example and its updating the div fine however i want when i click on the link to update a textbox im using it for image selection in a cms i am building I am using tiny mce but as we delcare a web method i cant access the textbox control then is their any way round this as mcirosoft ajax simple is to bloted</description>
		<content:encoded><![CDATA[<p>I have implmeneted the test example and its updating the div fine however i want when i click on the link to update a textbox im using it for image selection in a cms i am building I am using tiny mce but as we delcare a web method i cant access the textbox control then is their any way round this as mcirosoft ajax simple is to bloted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pshah</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46030</link>
		<dc:creator>Pshah</dc:creator>
		<pubDate>Fri, 23 Sep 2011 12:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46030</guid>
		<description>Ok. As I mentioned, I do need to read session values, so instead of setting 

&lt;pre lang=&quot;asp&quot;&gt;
&lt;%@ Page EnableSessionState=&quot;False&quot; %&gt;
&lt;/pre&gt;

I set it to
&lt;pre lang=&quot;asp&quot;&gt;
&lt;%@ Page EnableSessionState=&quot;Readonly&quot; %&gt;
&lt;/pre&gt;

which gives me the asynchronous behaviour. Although not satisfied but happy.</description>
		<content:encoded><![CDATA[<p>Ok. As I mentioned, I do need to read session values, so instead of setting</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000; font-weight: bold;">&lt;%</span><span style="color: #060; font-weight: bold;">@</span> Page EnableSessionState<span style="color: #060; font-weight: bold;">=</span><span style="color: #c00;">&quot;False&quot;</span> <span style="color: #000; font-weight: bold;">%&gt;</span></pre></div></div>

<p>I set it to</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000; font-weight: bold;">&lt;%</span><span style="color: #060; font-weight: bold;">@</span> Page EnableSessionState<span style="color: #060; font-weight: bold;">=</span><span style="color: #c00;">&quot;Readonly&quot;</span> <span style="color: #000; font-weight: bold;">%&gt;</span></pre></div></div>

<p>which gives me the asynchronous behaviour. Although not satisfied but happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pshah</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46026</link>
		<dc:creator>Pshah</dc:creator>
		<pubDate>Fri, 23 Sep 2011 09:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46026</guid>
		<description>Thanks for the reply. Yes, the behaviour was fine after setting the Enablesessionstate to false in the Page directive.  But then whats the alternative to this. For security, currently I am checking whether session is alive or not in all my webmethods.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply. Yes, the behaviour was fine after setting the Enablesessionstate to false in the Page directive.  But then whats the alternative to this. For security, currently I am checking whether session is alive or not in all my webmethods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46015</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Thu, 22 Sep 2011 17:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46015</guid>
		<description>That&#039;s probably due to the ASP.NET Session. When a request has read/write access to the Session, ASP.NET processes those requests sequentially for a given session ID. That&#039;s usually not noticeable for full postbacks, but can cause trouble when you&#039;re making lots of smaller AJAX requests.

If you aren&#039;t using the Session on this page, you can fix the problem by disabling it in the Page directive:

&lt;pre lang=&quot;asp&quot;&gt;&lt;%@ Page EnableSessionState=&quot;False&quot; %&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>That&#8217;s probably due to the ASP.NET Session. When a request has read/write access to the Session, ASP.NET processes those requests sequentially for a given session ID. That&#8217;s usually not noticeable for full postbacks, but can cause trouble when you&#8217;re making lots of smaller AJAX requests.</p>
<p>If you aren&#8217;t using the Session on this page, you can fix the problem by disabling it in the Page directive:</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000; font-weight: bold;">&lt;%</span><span style="color: #060; font-weight: bold;">@</span> Page EnableSessionState<span style="color: #060; font-weight: bold;">=</span><span style="color: #c00;">&quot;False&quot;</span> <span style="color: #000; font-weight: bold;">%&gt;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Pshah</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46010</link>
		<dc:creator>Pshah</dc:creator>
		<pubDate>Thu, 22 Sep 2011 16:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46010</guid>
		<description>I am using jquery ajax method to call a [WebMethod] which in an .aspx page. 
But some how , the ajax call is behaving synchronously. I used fiddler to trace each request. here is my code:

JS ajax call to a web method
 &lt;pre lang=&quot;javascript&quot;&gt;
$(document).ready(function () {
 
 
            var param = &quot;{&#039;cp&#039;:&#039;&quot; + &quot;1&quot; + &quot;&#039;, &#039;chartType&#039; : &quot; + 2 + &quot;}&quot;;
            $.ajax({
                type: &quot;POST&quot;,
                url: &quot;ajaxhelp.aspx/GetChar&quot;,
                data: param,
                contentType: &quot;application/json; charset=utf-8&quot;,
                dataType: &quot;json&quot;,
 
                success: function (msg) {
 
                    $(&quot;#contet&quot;).html(&quot;done&quot;);
 
                },
                error: function (XMLHttpRequest, textStatus, errorThrown) {
 
 
                }
            });
 
 
        });
&lt;/pre&gt;

And the code for the web method
 &lt;pre lang=&quot;csharp&quot;&gt;
 [WebMethod]
    public static string GetChar(string cp, int type)
    {
        string c = string.Empty; ;
        System.Threading.Thread.Sleep(10000);
        return &quot;now&quot;;

    }
&lt;/pre&gt;

The behaviour from above code seems synchronous. The way I interpreted is , while the page is wating for the ajaxresponse, i am clicking on the other link on the same page ….which doesnt get redirected untill the ajaxresponse is done.

Any idea for this kind of wierd behaviour</description>
		<content:encoded><![CDATA[<p>I am using jquery ajax method to call a [WebMethod] which in an .aspx page.<br />
But some how , the ajax call is behaving synchronously. I used fiddler to trace each request. here is my code:</p>
<p>JS ajax call to a web method</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
&nbsp;
            <span style="color: #003366; font-weight: bold;">var</span> param <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;{'cp':'&quot;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;1&quot;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;', 'chartType' : &quot;</span> <span style="color: #339933;">+</span> <span style="color: #CC0000;">2</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;}&quot;</span><span style="color: #339933;">;</span>
            $.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
                type<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;POST&quot;</span><span style="color: #339933;">,</span>
                url<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;ajaxhelp.aspx/GetChar&quot;</span><span style="color: #339933;">,</span>
                data<span style="color: #339933;">:</span> param<span style="color: #339933;">,</span>
                contentType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;application/json; charset=utf-8&quot;</span><span style="color: #339933;">,</span>
                dataType<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;json&quot;</span><span style="color: #339933;">,</span>
&nbsp;
                success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>msg<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
                    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#contet&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;done&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
                error<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>XMLHttpRequest<span style="color: #339933;">,</span> textStatus<span style="color: #339933;">,</span> errorThrown<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
&nbsp;
                <span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And the code for the web method</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"> <span style="color: #000000;">&#91;</span>WebMethod<span style="color: #000000;">&#93;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #FF0000;">string</span> GetChar<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> cp, <span style="color: #FF0000;">int</span> type<span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#123;</span>
        <span style="color: #FF0000;">string</span> c <span style="color: #008000;">=</span> <span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">Empty</span><span style="color: #008000;">;</span> <span style="color: #008000;">;</span>
        <span style="color: #000000;">System.<span style="color: #0000FF;">Threading</span></span>.<span style="color: #0000FF;">Thread</span>.<span style="color: #0000FF;">Sleep</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">10000</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #0600FF;">return</span> <span style="color: #666666;">&quot;now&quot;</span><span style="color: #008000;">;</span>
&nbsp;
    <span style="color: #000000;">&#125;</span></pre></div></div>

<p>The behaviour from above code seems synchronous. The way I interpreted is , while the page is wating for the ajaxresponse, i am clicking on the other link on the same page ….which doesnt get redirected untill the ajaxresponse is done.</p>
<p>Any idea for this kind of wierd behaviour</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-46009</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Thu, 22 Sep 2011 16:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-46009</guid>
		<description>Thank you, this worked very nice on my end!</description>
		<content:encoded><![CDATA[<p>Thank you, this worked very nice on my end!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-44499</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Tue, 02 Aug 2011 21:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-44499</guid>
		<description>You can relax IIS7&#039;s default request filtering on *.ascx by also adding this in the web.config:

&lt;pre lang=&quot;xml&quot;&gt;    &lt;security&gt;
      &lt;requestFiltering&gt;
        &lt;fileExtensions&gt;
          &lt;remove fileExtension=&quot;.ascx&quot; /&gt;
          &lt;add fileExtension=&quot;.ascx&quot; allowed=&quot;true&quot; /&gt;
        &lt;/fileExtensions&gt;
      &lt;/requestFiltering&gt;
    &lt;/security&gt;&lt;/pre&gt;

That doesn&#039;t quite get it working right, but it might be a step in the right direction.</description>
		<content:encoded><![CDATA[<p>You can relax IIS7&#8242;s default request filtering on *.ascx by also adding this in the web.config:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;security<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;requestFiltering<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fileExtensions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;remove</span> <span style="color: #000066;">fileExtension</span>=<span style="color: #ff0000;">&quot;.ascx&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;add</span> <span style="color: #000066;">fileExtension</span>=<span style="color: #ff0000;">&quot;.ascx&quot;</span> <span style="color: #000066;">allowed</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fileExtensions<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/requestFiltering<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/security<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>That doesn&#8217;t quite get it working right, but it might be a step in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan</title>
		<link>http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/#comment-44497</link>
		<dc:creator>Ethan</dc:creator>
		<pubDate>Tue, 02 Aug 2011 19:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/?p=77#comment-44497</guid>
		<description>It still had problems there. After some research, it turns out that the ability to do this in IIS 6 wasn&#039;t really meant to be there. So I guess that got nixed in IIS 7+.</description>
		<content:encoded><![CDATA[<p>It still had problems there. After some research, it turns out that the ability to do this in IIS 6 wasn&#8217;t really meant to be there. So I guess that got nixed in IIS 7+.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

