<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Make Client-Side Network Callbacks with ASP.NET AJAX?</title><link>http://asp.net</link><pubDate>Tue, 07 Oct 2008 19:51:52 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Make Client-Side Network Callbacks with ASP.NET AJAX?</description><language>en</language><atom:link href="http://asp.net/rss/comments/33599" rel="self" type="application/rss+xml" /><item><title>Comment Posted by akourkoumelis</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Fri, 07 Mar 2008 17:32:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000431</guid><description><![CDATA[ <p>Hi, </p> <p>Can I invoke server side calls from javascript without invoking a web service?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/akourkoumelis.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Sat, 15 Mar 2008 12:48:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000432</guid><description><![CDATA[ <p>Sure - you can use GET and OST directly.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ShijuKadamala</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Thu, 27 Mar 2008 10:35:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000433</guid><description><![CDATA[ <p>When you are calling web service class from JavaScript, remember to call with full qualifier for the web service class.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ShijuKadamala.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by darthocellaris</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Fri, 28 Mar 2008 12:12:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000434</guid><description><![CDATA[ <p>my javascript is weak so correct me here. You misspelled &#39;return&#39; in the script and the popup still shows. There is an error on the page still though. How is this possible? I would have expected no popup.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/darthocellaris.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by eunicep</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Mon, 07 Apr 2008 00:42:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000435</guid><description><![CDATA[ <p>darthocellaris: I had the same problem encountering javascript error stating &#39;SimpleService&#39; is undefined. &#160;I figured out that a namespace is needed. &#160;Here, the namespace I used is AJAXEnabledWebSite1. &#160;</p> <p>ret = AJAXEnabledWebSite1.SimpleService.SayHello(document.getElem entById(&#39;Text1&#39;).value, OnComplete, OnTimeOut, OnError);</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/eunicep.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Mon, 14 Apr 2008 20:55:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000436</guid><description><![CDATA[ <p>darth.... browsers handle JS errors differently but often try to keep going, especially if you have client errors turned off in the browser. </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by anat2403</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Sun, 20 Apr 2008 13:35:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000437</guid><description><![CDATA[ <p>Suppose the Name entered is &#39;Anat&#39; and I want to keep this value in a session field or somewhwere in the server. How can I use the web service to get this value?</p> <p>Thankyou</p> <p>Anat</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/anat2403.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by DarkKnight671</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Wed, 23 Apr 2008 07:50:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000438</guid><description><![CDATA[ <p>Anat raises an interesting point - is there a way to sync server-controls with what gets changed as a result of the callback? I.E. - if we change a list of values (say, a dropdownlist), viewstate is not updated on the server and any selections may no longer be valid...</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/DarkKnight671.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by gladston_raj</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 27 May 2008 07:54:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000439</guid><description><![CDATA[ <p>When i try to return a data table from the web service it is throwing a error &quot;A circular reference has been detected while serializing an object of type &#39;System.Reflection.Module&#39;</p> <p>&quot;, why this error is comming and how can i over come this error</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/gladston_raj.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 27 May 2008 13:42:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000440</guid><description><![CDATA[ <p>You can&#39;t automagically pass all server side objects to your client side code. </p> <p>Try manually serializing your Table to JSON or POX and then you can process the data sumply in your clint side Javascript code. </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by hasan_houshmand</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Sun, 01 Jun 2008 11:29:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000441</guid><description><![CDATA[ <p>Hi Sir!</p> <p>I&#39;m from Iran.</p> <p>As you see my name is hasan.</p> <p>These Videos are really helpfull.</p> <p>Special Thanks to you.</p> <p>But Ineed Your Help because really i want to learn AJAX.</p> <p>When i need your help, Do you help me?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/hasan_houshmand.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ITSASPDOTNET</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 24 Jun 2008 21:34:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000442</guid><description><![CDATA[ <p>JoeStagner, you have mentioned that we have to use GET and POST directly, to invoke invoke server side calls from javascript without invoking a web service.</p> <p>Do you have any sample for this? or can you please let me know in detail how can I achieve this? </p> <p>I would like to use it. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ITSASPDOTNET.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Sarkie</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 01 Jul 2008 05:53:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000444</guid><description><![CDATA[ <p>In 3.5 or 2008 it shows for the </p> <p> &#160; &#160;var ret = SimpleService.SayHello(document.getElementById(&#39;Text1&#39;).val ue, OnSuccess,OnFailure, &quot;UserContextDataHere&quot;);</p> <p>Only OnSuccess and OnFailure, no OnTimeout and allows UserContext data being sent around etc.</p> <p>This correct?</p> <p>Sarkie</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Sarkie.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 15 Jul 2008 08:28:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000445</guid><description><![CDATA[ <p>Sarkie - that&#39;s correct. If the error is a time-out the error message will contain that data,</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by claooigt</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Wed, 16 Jul 2008 05:27:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000446</guid><description><![CDATA[ <p>Great show case... </p> <p>Questions: If my business logic need to wait until server callback complete before I can proceed to the next line of code, how I can do it? Any sample?</p> <p>For example, before save a record, I validate on duplicate entry against database records. If web method return &quot;0&quot;, then only I proceed with the next validation. Please advise.</p> <p>Thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/claooigt.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by toakes</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Mon, 28 Jul 2008 21:44:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000447</guid><description><![CDATA[ <p>I&#39;m having the same error that eunicep was having - a Javascript error that states that the service name is undefined. &#160;I&#39;m not sure where to find the namespace for the site?</p> <p>Can anyone point me in the right direction?</p> <p>Thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/toakes.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by toakes</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Mon, 28 Jul 2008 22:45:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000448</guid><description><![CDATA[ <p>I solved my problem by registering the web service in VS.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/toakes.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by new_to_ajax</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Fri, 01 Aug 2008 15:40:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000449</guid><description><![CDATA[ <p>Hi Joe,</p> <p>How can I call server side method (public method in codebehind class) from javascript similar to the call that you made to web service?</p> <p>Thanks,</p> <p>-Asif</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/new_to_ajax.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Wed, 06 Aug 2008 13:26:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000450</guid><description><![CDATA[ <p>It is simple and good....</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sonalbagdiya</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Wed, 06 Aug 2008 17:30:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000451</guid><description><![CDATA[ <p>Hi Asif,</p> <p>You can call server side method by calling onserverclick=method() on html button in source rather than calling onclick for html button.</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sonalbagdiya.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by liujack123@hotmail.com</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Mon, 18 Aug 2008 23:12:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000452</guid><description><![CDATA[ <p>hello</p> <p> &#160; &#160;I followed the vedio and do what he did in the vedio,then run the website,and i click the button,but no popup .there is nothing while I am clicking,what happened? could any one tell me about it .thank u</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/liujack123@hotmail.com.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by S.Pirashanth</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Thu, 28 Aug 2008 06:56:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000453</guid><description><![CDATA[ <p>Many thanks Joe for the excellent video series </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/S.Pirashanth.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nolazabal</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Thu, 18 Sep 2008 17:58:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000454</guid><description><![CDATA[ <p>Hello Joe,</p> <p>I would be interested to know if the same calls you made in this example in an aspx page can be made from a simple html page. </p> <p>The reason is that I have some existing web services I would like to use on some old html pages.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/nolazabal.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nsuresh_rasr</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Thu, 25 Sep 2008 11:32:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000455</guid><description><![CDATA[ <p>very good article... really helpful....</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/nsuresh_rasr.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by emre.kocyigit</title><link>http://asp.net/web-forms/videos/aspnet-ajax/how-do-i-make-client-side-network-callbacks-with-aspnet-ajax</link><pubDate>Tue, 07 Oct 2008 19:51:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000456</guid><description><![CDATA[ <p>I appreciate these series a lot htnak you!</p> <p>May I ask you sth tough .. which server side types are ready to go for this and which need to be manually serialized?</p> <p>string and int only I suppose .. you know web is big .. its easy just to pop up a question here .. you know the best programmer is the lazy one :)</p> <p>cheers!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/emre.kocyigit.jpg?forceidenticon=false&amp;dt=635045414400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>