Reputation: 2760
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.
Upvotes: 1
Views: 1128
Reputation: 100288
Your code-generated (Java)Script contains XML or HTML markup, which is not allowed by ASP.NET built-in XSS validation.
Upvotes: 0