Z
Zac
Hello!
Maybe someone out there can point me int he correct direction for a
fix to a problem I'm having. I've setup a user control with two list
boxes. One starts with a full list of items, the other one completely
empty. I've setup a client-side javascript function that allows the
user to move items from one list box to the other and back as a way of
'selecting' which options they want. The user control is set in a
server side form. When I click the save button that posts back to the
server, I get the following error:
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.
I've been researching the problem on Google for a while now but just
can't seem to find an example that is similar to what I'm doing, works
with what I'm doing, or offers a clear explanations of what I need to
do to make it work. Can anyone out there point me to some good
resources, or even just in the right direction?
Thanks!
Zac
Maybe someone out there can point me int he correct direction for a
fix to a problem I'm having. I've setup a user control with two list
boxes. One starts with a full list of items, the other one completely
empty. I've setup a client-side javascript function that allows the
user to move items from one list box to the other and back as a way of
'selecting' which options they want. The user control is set in a
server side form. When I click the save button that posts back to the
server, I get the following error:
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.
I've been researching the problem on Google for a while now but just
can't seem to find an example that is similar to what I'm doing, works
with what I'm doing, or offers a clear explanations of what I need to
do to make it work. Can anyone out there point me to some good
resources, or even just in the right direction?
Thanks!
Zac