Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Invalid postback or callback argument.
1.7.2007 14:44:45 - Filed under : Asp.net
I'm encountering with this error when i migrate my project (1.1 framework) to 2.0 with master page implementation.
The error is ;
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Resolution : Remove the <form> tag in body element that page is implemented master page. So, master page is also have <form> tag. The two <form> tag makes an error.
Keywords : Postback or callback, form tag, master page
with 0 comments

What do you think ?
Security Code 5321
Check S. Code
Home Page