Error after saving a Auto Fill form
I have a drop down on my form that allows a user to select a title which will then auto-fill certain fields in the form. However when I hit save I received the error below.
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.
Any thought on how to fix this?
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.
Any thought on how to fix this?
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Most likely, you insert an option into a select box that was not there originally via JavaScript. As a workaround I'd suggest disabling EnableEventValidation property in the web.config by placing the following element into system.web section:
Most likely, you insert an option into a select box that was not there originally via JavaScript. As a workaround I'd suggest disabling EnableEventValidation property in the web.config by placing the following element into system.web section:
Code: Select all
<pages enableEventValidation="false" />
-
- Information
-
Who is online
Users browsing this forum: No registered users and 25 guests