ASP.NET Exception – Invalid postback or callback argument
September 27th, 2009
1 comment

Invalid postback or callback argument
Some people will suggest to add your code inside If Not Page.IsPostBack Then block, other will tell you to set EnableEventValidation to false which is not serious at all. Even the compiler suggests ClientScriptManager.RegisterForEventValidation method but in most of the situations these will not work.
One is for certain: This specific exception is mostly thrown when you use a Master page!!!
Add the same javascript attributes to the very same server control out of the master page and you’ll see that it is working just fine.
Read more…
