<?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: Calling a PageMethod with jQuery</title>
	<atom:link href="http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/</link>
	<description>Fun With Web Development!</description>
	<lastBuildDate>Tue, 03 Jan 2012 22:45:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Ross</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-2220</link>
		<dc:creator>Ross</dc:creator>
		<pubDate>Tue, 24 May 2011 11:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-2220</guid>
		<description>Thank you for providing an article that POSTs parameters to the page method, rather than being parameterless!</description>
		<content:encoded><![CDATA[<p>Thank you for providing an article that POSTs parameters to the page method, rather than being parameterless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-2069</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Fri, 15 Apr 2011 19:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-2069</guid>
		<description>&lt;blockquote cite=&quot;#comment-body-2055&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-2055&quot; rel=&quot;nofollow&quot;&gt;Viju&lt;/a&gt; :&lt;/strong&gt;
                  &lt;div class=&quot;avatar&quot;&gt;&lt;img class=&quot;avatar avatar-64 photo&quot; alt=&quot;&quot; src=&quot;http://1.gravatar.com/avatar/939b960ee7ed874feea08b680c775e25?s=64&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&amp;r=G&quot; width=&quot;64&quot; height=&quot;64&quot;&gt;&lt;/div&gt;
         
         
         &lt;p&gt;Hi,&lt;br&gt;
I was trying to implement the same for my project. But its not working.Below is the piece of code I have used .&lt;br&gt;
 function CallService() {&lt;/p&gt;
&lt;p&gt;        $(“#LinkButton1″).html(”);&lt;br&gt;
       // var s = 9;&lt;br&gt;
        $.ajax({&lt;br&gt;
            type: “POST”,&lt;br&gt;
            url: “GetComments.asmx/ShowComments”,&lt;br&gt;
            data: “{‘cid’:’9′}”,&lt;br&gt;
            contentType: “application/json; charset=utf-8″,&lt;br&gt;
            dataType: “json”,&lt;br&gt;
            success: OnSuccess,&lt;br&gt;
            error: OnError&lt;br&gt;
        });&lt;/p&gt;
&lt;p&gt;        function OnSuccess(data, status) {&lt;/p&gt;
&lt;p&gt;           // $(‘#divSimplePopup’).showModal(); return true;&lt;br&gt;
           // $(“.body”).html(data.d);&lt;/p&gt;
&lt;p&gt;        }&lt;/p&gt;
&lt;p&gt;        function OnError(data, status) {&lt;/p&gt;
&lt;p&gt;            $(‘#divSimplePopup’).showModal(); return true;&lt;/p&gt;
&lt;p&gt;        }&lt;/p&gt;
&lt;p&gt;    }&lt;/p&gt;
&lt;p&gt;It is not giving any error. But always OnError block executes.Can u please suggest me something..I can provide you the full code if you can give me your email id.&lt;/p&gt;
&lt;p&gt;thanks&lt;br&gt;
Pep&lt;/p&gt;
         &lt;a id=&quot;comment-reply-2055&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
       &lt;/blockquote&gt;

Have you tried examining the traffic with something like Fiddler or Firebug? That would be my first course of action.</description>
		<content:encoded><![CDATA[<blockquote cite="#comment-body-2055"><p>
<strong><a href="#comment-2055" rel="nofollow">Viju</a> :</strong></p>
<div class="avatar"><img class="avatar avatar-64 photo" alt="" src="http://1.gravatar.com/avatar/939b960ee7ed874feea08b680c775e25?s=64&amp;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&amp;r=G" width="64" height="64"/></div>
<p>Hi,<br />
I was trying to implement the same for my project. But its not working.Below is the piece of code I have used .<br />
 function CallService() {</p>
<p>        $(“#LinkButton1″).html(”);<br />
       // var s = 9;<br />
        $.ajax({<br />
            type: “POST”,<br />
            url: “GetComments.asmx/ShowComments”,<br />
            data: “{‘cid’:’9′}”,<br />
            contentType: “application/json; charset=utf-8″,<br />
            dataType: “json”,<br />
            success: OnSuccess,<br />
            error: OnError<br />
        });</p>
<p>        function OnSuccess(data, status) {</p>
<p>           // $(‘#divSimplePopup’).showModal(); return true;<br />
           // $(“.body”).html(data.d);</p>
<p>        }</p>
<p>        function OnError(data, status) {</p>
<p>            $(‘#divSimplePopup’).showModal(); return true;</p>
<p>        }</p>
<p>    }</p>
<p>It is not giving any error. But always OnError block executes.Can u please suggest me something..I can provide you the full code if you can give me your email id.</p>
<p>thanks<br />
Pep</p>
<p>         <a id="comment-reply-2055" rel="nofollow"></a>
       </p></blockquote>
<p>Have you tried examining the traffic with something like Fiddler or Firebug? That would be my first course of action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viju</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-2055</link>
		<dc:creator>Viju</dc:creator>
		<pubDate>Mon, 11 Apr 2011 14:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-2055</guid>
		<description>Hi,
I was trying to implement the same for my project. But its not working.Below is the piece of code I have used .
 function CallService() {

        $(&quot;#LinkButton1&quot;).html(&#039;&#039;);
       // var s = 9;
        $.ajax({
            type: &quot;POST&quot;,
            url: &quot;GetComments.asmx/ShowComments&quot;,
            data: &quot;{&#039;cid&#039;:&#039;9&#039;}&quot;,
            contentType: &quot;application/json; charset=utf-8&quot;,
            dataType: &quot;json&quot;,
            success: OnSuccess,
            error: OnError
        });

        function OnSuccess(data, status) {

           // $(&#039;#divSimplePopup&#039;).showModal(); return true;
           // $(&quot;.body&quot;).html(data.d);

        }


        function OnError(data, status) {

            $(&#039;#divSimplePopup&#039;).showModal(); return true;
            

        }

    }

It is not giving any error. But always OnError block executes.Can u please suggest me something..I can provide you the full code if you can give me your email id.

thanks
Pep</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was trying to implement the same for my project. But its not working.Below is the piece of code I have used .<br />
 function CallService() {</p>
<p>        $(&#8220;#LinkButton1&#8243;).html(&#8221;);<br />
       // var s = 9;<br />
        $.ajax({<br />
            type: &#8220;POST&#8221;,<br />
            url: &#8220;GetComments.asmx/ShowComments&#8221;,<br />
            data: &#8220;{&#8216;cid&#8217;:&#8217;9&#8242;}&#8221;,<br />
            contentType: &#8220;application/json; charset=utf-8&#8243;,<br />
            dataType: &#8220;json&#8221;,<br />
            success: OnSuccess,<br />
            error: OnError<br />
        });</p>
<p>        function OnSuccess(data, status) {</p>
<p>           // $(&#8216;#divSimplePopup&#8217;).showModal(); return true;<br />
           // $(&#8220;.body&#8221;).html(data.d);</p>
<p>        }</p>
<p>        function OnError(data, status) {</p>
<p>            $(&#8216;#divSimplePopup&#8217;).showModal(); return true;</p>
<p>        }</p>
<p>    }</p>
<p>It is not giving any error. But always OnError block executes.Can u please suggest me something..I can provide you the full code if you can give me your email id.</p>
<p>thanks<br />
Pep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-820</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 17 Jul 2010 00:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-820</guid>
		<description>Great article. Thank you very much. I&#039;ve been looking for ways to replace the UpdatePanel in ASP.net and this is just what I needed. Saw some other examples w/o jQuery and it definently required many more lines of JavaScript.</description>
		<content:encoded><![CDATA[<p>Great article. Thank you very much. I&#8217;ve been looking for ways to replace the UpdatePanel in ASP.net and this is just what I needed. Saw some other examples w/o jQuery and it definently required many more lines of JavaScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-77</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Wed, 28 Oct 2009 03:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-77</guid>
		<description>Hi Ali,

I appreciate the suggestion and will definitely consider it for my next post.  Thanks!!

- brian</description>
		<content:encoded><![CDATA[<p>Hi Ali,</p>
<p>I appreciate the suggestion and will definitely consider it for my next post.  Thanks!!</p>
<p>- brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali raza zaidi</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-74</link>
		<dc:creator>ali raza zaidi</dc:creator>
		<pubDate>Tue, 27 Oct 2009 11:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-74</guid>
		<description>i m new to jquery and ajax, kindly send me complete example where ado.net dataset/datatable send using webservices and bind with jquery at client side 
regards
Ali raza</description>
		<content:encoded><![CDATA[<p>i m new to jquery and ajax, kindly send me complete example where ado.net dataset/datatable send using webservices and bind with jquery at client side<br />
regards<br />
Ali raza</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sangam Uprety</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-23</link>
		<dc:creator>Sangam Uprety</dc:creator>
		<pubDate>Mon, 05 Oct 2009 05:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-23</guid>
		<description>Good article.</description>
		<content:encoded><![CDATA[<p>Good article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-20</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Fri, 02 Oct 2009 20:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-20</guid>
		<description>&lt;blockquote cite=&quot;#comment-body-19&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-19&quot; rel=&quot;nofollow&quot;&gt;HeartsHacker&lt;/a&gt; :&lt;/strong&gt;
&lt;BLOCKQUOTE cite=&quot;#comment-body-6&quot;&gt;
&lt;STRONG&gt;&lt;a href=&quot;#comment-6&quot; rel=&quot;nofollow&quot;&gt;Lee&lt;/A&gt; :&lt;/STRONG&gt;
For HTTP inspection, Fiddler is far richer than firebug, and it works in the world’s most popular Web browser (IE) as well as other browsers.&lt;a href=&quot;http://www.fiddler2.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.fiddler2.com/&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;
fiddler2 is good. But with firebug u can inspect css. It is very helpful.&lt;A&gt;&lt;/A&gt;&lt;/blockquote&gt;
With Fiddler, you can inspect *anything* that comes through an HTTP request or response, which certainly includes CSS.</description>
		<content:encoded><![CDATA[<blockquote cite="#comment-body-19"><p>
<strong><a href="#comment-19" rel="nofollow">HeartsHacker</a> :</strong></p>
<blockquote cite="#comment-body-6"><p>
<strong><a href="#comment-6" rel="nofollow">Lee</a> :</strong><br />
For HTTP inspection, Fiddler is far richer than firebug, and it works in the world’s most popular Web browser (IE) as well as other browsers.<a href="http://www.fiddler2.com/" rel="nofollow">http://www.fiddler2.com/</a><a></a></p></blockquote>
<p>fiddler2 is good. But with firebug u can inspect css. It is very helpful.<a></a></p></blockquote>
<p>With Fiddler, you can inspect *anything* that comes through an HTTP request or response, which certainly includes CSS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HeartsHacker</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-19</link>
		<dc:creator>HeartsHacker</dc:creator>
		<pubDate>Fri, 02 Oct 2009 09:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-19</guid>
		<description>&lt;blockquote cite=&quot;#comment-body-6&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-6&quot; rel=&quot;nofollow&quot;&gt;Lee&lt;/a&gt; :&lt;/strong&gt;
                  
         
         
         For HTTP inspection, Fiddler is far richer than firebug, and it works in the world’s most popular Web browser (IE) as well as other browsers.
&lt;a href=&quot;http://www.fiddler2.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.fiddler2.com/&lt;/a&gt;
         &lt;a&gt;&lt;/a&gt;
       &lt;/blockquote&gt;

fiddler2 is good. But with firebug u can inspect css. It is very helpful.</description>
		<content:encoded><![CDATA[<blockquote cite="#comment-body-6"><p>
<strong><a href="#comment-6" rel="nofollow">Lee</a> :</strong></p>
<p>         For HTTP inspection, Fiddler is far richer than firebug, and it works in the world’s most popular Web browser (IE) as well as other browsers.<br />
<a href="http://www.fiddler2.com/" rel="nofollow">http://www.fiddler2.com/</a><br />
         <a></a>
       </p></blockquote>
<p>fiddler2 is good. But with firebug u can inspect css. It is very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://brian.dobberteen.com/code/calling-a-pagemethod-with-jquery/comment-page-1/#comment-18</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 01 Oct 2009 21:23:21 +0000</pubDate>
		<guid isPermaLink="false">http://brian.dobberteen.com/?p=34#comment-18</guid>
		<description>Type your comment here&lt;blockquote cite=&quot;#comment-body-4&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-4&quot; rel=&quot;nofollow&quot;&gt;Byron&lt;/a&gt; :&lt;/strong&gt;
                  
         
         
         This is nice.. thanks for this.
Is there a way on how to call a method/function in class file?
         &lt;a&gt;&lt;/a&gt;
       &lt;/blockquote&gt;

Looks like you failed to even read the article.</description>
		<content:encoded><![CDATA[<p>Type your comment here<br />
<blockquote cite="#comment-body-4">
<strong><a href="#comment-4" rel="nofollow">Byron</a> :</strong></p>
<p>         This is nice.. thanks for this.<br />
Is there a way on how to call a method/function in class file?<br />
         <a></a>
       </p></blockquote>
<p>Looks like you failed to even read the article.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

