<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1880837.aspx</link><pubDate>Tue, 28 Aug 2007 18:01:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1880837</guid><dc:creator>vanclei</dc:creator><author>vanclei</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1880837.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1880837</wfw:commentRss><description>&lt;p&gt;Thanks so much for this answer &lt;br /&gt;&lt;br /&gt;I spent a long time trying to figure out why it was happening... but i banned &amp;quot;i&amp;quot; from my js codes and everything is working fine now, thanks&lt;img src="http://forums.asp.net/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1810584.aspx</link><pubDate>Wed, 18 Jul 2007 16:05:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1810584</guid><dc:creator>bcarroll</dc:creator><author>bcarroll</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1810584.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1810584</wfw:commentRss><description>&lt;p&gt;garrettrs,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much!!!!&amp;nbsp; This has been driving me nuts all morning.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-Bryan&lt;/p&gt;</description></item><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1354342.aspx</link><pubDate>Fri, 28 Jul 2006 14:46:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1354342</guid><dc:creator>garrettrs</dc:creator><author>garrettrs</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1354342.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1354342</wfw:commentRss><description>&lt;p&gt;I had the same error when I first started using client callbacks (__pendingCallbacks[..] async is null...).&amp;nbsp; The solution to my problem was getting rid of all the local variables 'i' in javascript on the client side.&amp;nbsp; Turns out, that the WebResource.axd file generated by aspnet to handle posting callbacks has a global variable 'i', which is used to iterate through pending callback requests in the WebForm_CallbackComplete method.&amp;nbsp; If you declare a loop outside the file&amp;nbsp;in your own code&amp;nbsp;like this &lt;/p&gt;
&lt;p&gt;for(i=0;i&amp;lt;x,i++)&lt;/p&gt;
&lt;p&gt;you are unknowingly incrementing the value needed to receive pending callback requests.&amp;nbsp; I found the easiest to circumvent this problem is to just get rid of my client side 'i' variables.&amp;nbsp; This problem was insanely annoying before I figured it out.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1176583.aspx</link><pubDate>Mon, 23 Jan 2006 17:13:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1176583</guid><dc:creator>PeterBrunone</dc:creator><author>PeterBrunone</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1176583.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1176583</wfw:commentRss><description>&lt;p&gt;Since you mentioned that you're populating a listbox I figured I'd mention &lt;a href="http://easylistbox.com/demoRelatedAjax.aspx?rl=fp"&gt;ELB&lt;/a&gt;.&amp;nbsp; I don't know if it meets your needs or if it's something you want to consider, but there you go.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1176562.aspx</link><pubDate>Mon, 23 Jan 2006 16:54:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1176562</guid><dc:creator>papabear</dc:creator><author>papabear</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1176562.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1176562</wfw:commentRss><description>&lt;p&gt;&lt;font face=Verdana size=2&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;Check out this site for some great workarounds - &lt;/font&gt;&lt;a href="http://west-wind.com/weblog/posts/2694.aspx"&gt;&lt;font face=Verdana size=2&gt;http://west-wind.com/weblog/posts/2694.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=Verdana size=2&gt;;-)&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1165619.aspx</link><pubDate>Wed, 11 Jan 2006 20:49:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1165619</guid><dc:creator>papabear</dc:creator><author>papabear</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1165619.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1165619</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Incidently, while&amp;nbsp;mine throws errors in IE,&amp;nbsp;mine fails completely to run in Firefox.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;m&lt;/p&gt;</description></item><item><title>Cleint callback javascript error and Postback error ..</title><link>http://forums.asp.net/thread/1162688.aspx</link><pubDate>Mon, 09 Jan 2006 07:19:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1162688</guid><dc:creator>ssanand</dc:creator><author>ssanand</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1162688.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=1162688</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i've implemented the client callbacks by using(implementing ) ICallbackEventHandler (ASP.NET 2.0), and it apears that every thing with working fine. I'm able to receive the call back results and also populate the respective controls. However i'm getting an error "__pendingCallbacks[..].async is null or not an object". &lt;br /&gt;i observed that this error is occuring only if i'm accessing any control on the form from the javascript (i'm doing this to populate a control, i tried with ASP.NET controls, HTML control both giving this error). Is there any work-around for this please? (Note this callback is only one time not a recursive.)&lt;br /&gt;&lt;br /&gt;Thou with the error it is populating the control (i've populated data to a asp:listbox) if i select any item from the list box and do a post back (as other parts have to do post back .. at least to submit the form??) i'm getting "Invalid postback or callback argument."&lt;br /&gt;(i'm on .NET FRAMEWORK: 2.0.50727)&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Anand&lt;/p&gt;</description></item></channel></rss>