Problem
When developing a web site using ASP.NET 2.0, we encountered following error
---------------------------Solution
Microsoft Internet Explorer
---------------------------
Invalid postback or callback argument. Event validation is enabled usingin 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.
---------------------------
OK
---------------------------
This problem was caused by extra "form" tags placed in the aspx file. A valid aspx file should have only one "form" tag. After identifying and removing the extra "form" tags, the problem is solved.
No comments:
Post a Comment