<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>“Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx</link><description>I saw this error twice recently, but as often happens for two completely different cases so here they are, hope it helps someone to same their time… Invalid postback or callback argument. Event validation is enabled using &amp;lt;pages enableEventValidation</description><dc:language>it-IT</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#10051807</link><pubDate>Thu, 19 Aug 2010 06:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10051807</guid><dc:creator>Nirav Bhatt</dc:creator><description>&lt;p&gt;Nice post. Thanks for sharing.&lt;/p&gt;
&lt;p&gt;Check out url &lt;a rel="nofollow" target="_new" href="http://www.aspnetajaxtutorials.com/2007/10/invalid-postback-or-callback-argument.html"&gt;www.aspnetajaxtutorials.com/.../invalid-postback-or-callback-argument.html&lt;/a&gt; as well.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10051807" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9929323</link><pubDate>Fri, 27 Nov 2009 08:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9929323</guid><dc:creator>Carlo  Cardella</dc:creator><description>&lt;p&gt;Pete, have you considered calling our Support to seek assistance? This error, as every error can have a lot of different underlying causes, influenced by different configurations and environments... Reading your comment my feeling is that there is need to have a close look at the specific page on this specific server, there is not general advice always available.&lt;/p&gt;
&lt;p&gt;I would not turn input validation off, your right that is developer's responsability to ensure returned data is correct, but if the server can help, why not? I would not give up security layers unless absolutely forced to.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9929323" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9929319</link><pubDate>Fri, 27 Nov 2009 08:46:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9929319</guid><dc:creator>Pete</dc:creator><description>&lt;p&gt;I'm currently fighting with this error and cannot reproduce it reliably on my development machine. &amp;nbsp;It seems to happen sporadically once installed on a customer's server. &amp;nbsp;This page has given me food for thought, but I'm thinking about turning page validation off. &amp;nbsp;Other web development languages do not have this facility builtin as standard (Java, PHP, etc) to my knowledge, not when I worked with them, it's up to the developer to ensure the returned data is correct.&lt;/p&gt;
&lt;p&gt;A bug has never driven me up the wall as much as this one. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9929319" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9895864</link><pubDate>Wed, 16 Sep 2009 16:51:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9895864</guid><dc:creator>Eric</dc:creator><description>&lt;p&gt;This was happening to me because I was loading a dynamic DropDownList with an invalid value.&lt;/p&gt;
&lt;p&gt;I had the AJAX CascadingDropDown extender on a couple of dynamically created DropDownLists, where a selection in one would populate the other. &amp;nbsp;The default value in the first would generate a list in the child which didn't contain the default value I was assigning it ... poof ... validation problem on all postbacks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9895864" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9799571</link><pubDate>Tue, 23 Jun 2009 18:10:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9799571</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;I know I am a year behind you all but this has just made my day. Thank you from a happy english developer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9799571" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9652084</link><pubDate>Fri, 29 May 2009 10:21:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9652084</guid><dc:creator>Ramprasad</dc:creator><description>&lt;p&gt;Oh dear... you saved me a lot.....lot.... of time..&lt;/p&gt;
&lt;p&gt;Thank you very much. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9652084" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9641297</link><pubDate>Tue, 26 May 2009 13:48:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9641297</guid><dc:creator>Vivek</dc:creator><description>&lt;p&gt;Just add this to your web config and make pages..like ErrorPage.aspx , and see you will control this error by making your custom control error.	&lt;/p&gt;
&lt;p&gt;&amp;lt;system.web&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;customErrors defaultRedirect=&amp;quot;ErrorPage.aspx&amp;quot; mode=&amp;quot;On&amp;quot;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;error statusCode=&amp;quot;500&amp;quot; redirect=&amp;quot;servererror.aspx&amp;quot; /&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;error statusCode=&amp;quot;404&amp;quot; redirect=&amp;quot;filenotfound.aspx&amp;quot; /&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;error statusCode=&amp;quot;403&amp;quot; redirect=&amp;quot;AccessDenied.aspx&amp;quot; /&amp;gt; &amp;lt;/customErrors&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;system.web&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9641297" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9547211</link><pubDate>Mon, 13 Apr 2009 23:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9547211</guid><dc:creator>Sid</dc:creator><description>&lt;p&gt;Thanks for this post. Helped a lot !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9547211" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9479020</link><pubDate>Sun, 15 Mar 2009 17:11:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9479020</guid><dc:creator>JAMC</dc:creator><description>&lt;p&gt;I struggled with this problem for days, but with much experimentation have managed to sort my problem out. As the number of potential causes for this error seems quite high, I don't know whether this will help anyone, but here goes...&lt;/p&gt;
&lt;p&gt;1. Check whether you're using a Page.Validate call.&lt;/p&gt;
&lt;p&gt;2. More importantly check the positioning of the Page.Validate call in your code execution sequence. I had placed my Validate call too late in the code execution - i.e. I was making changes between the Page_Load and Page_PreRender events that the Page.Validate call did not like. Place the Page.Validate call as early as possible, so that the call is validating the original data sent by the postback, not the data you've altered after the postback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9479020" width="1" height="1"&gt;</description></item><item><title>re: “Invalid postback or callback argument” in ASP.NET</title><link>http://blogs.msdn.com/b/carloc/archive/2008/05/02/invalid-postback-or-callback-argument-in-asp-net.aspx#9460544</link><pubDate>Thu, 05 Mar 2009 23:07:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9460544</guid><dc:creator>Mick</dc:creator><description>&lt;p&gt;THANK YOU for this post on &amp;quot;Invalid postback or callback argument&amp;quot; errors. &amp;nbsp;I too didn't see the Nested &amp;lt;form&amp;gt; tags cause mentioned anywhere else. &amp;nbsp; It seems that my error was the result of an outdated Google search box I was using prior to moving to ASP.Net.&lt;/p&gt;
&lt;p&gt;BTW, it does not happen running locally using VWD, only with remote host. &amp;nbsp;Also I agree from the earlier comment that a postback generated from within the nested form seemed to work fine - in my case the search action.&lt;/p&gt;
&lt;p&gt;Thanks again! :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9460544" width="1" height="1"&gt;</description></item></channel></rss>