G
Guest
Here's what I'm doing. I got 2 dropdownlist controls that are dynamically
being populated by javascript. I'm assuming that the viewstate is no longer
valid , because when attempting to submit the form it throws the following
error during postback
Invalid postback or callback argument. Event validation is enabled using
<pages enableEventValidation="true"/> 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.
Is there any way that the javascript can modify the dropdownlists and
somehow retain the integrity of the page so that the options added by
javascript can be accessible during postback without having to resort to
populating of a hidden field?
Tks
being populated by javascript. I'm assuming that the viewstate is no longer
valid , because when attempting to submit the form it throws the following
error during postback
Invalid postback or callback argument. Event validation is enabled using
<pages enableEventValidation="true"/> 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.
Is there any way that the javascript can modify the dropdownlists and
somehow retain the integrity of the page so that the options added by
javascript can be accessible during postback without having to resort to
populating of a hidden field?
Tks