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
|