S
shapper
Hello,
I have an Asp.Net 3.5 ListView.
I added a TextBox and 2 buttons in Edit Item Template.
The TextBox displays the value of the field has expected.
Buttons are defined as follows:
Dim cancel As New Button
cancel.CommandName = "Cancel"
cancel.Text = "Cancel"
Dim update As New Button
update.CommandName = "Update"
update.Text = "Update"
When I press the update or cancel button I get a strange error:
Invalid postback or callback argument.
Event validation is enabled using <pages enableEventValidation="true"/
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.
Why am I getting this error?
Thanks,
Miguel
I have an Asp.Net 3.5 ListView.
I added a TextBox and 2 buttons in Edit Item Template.
The TextBox displays the value of the field has expected.
Buttons are defined as follows:
Dim cancel As New Button
cancel.CommandName = "Cancel"
cancel.Text = "Cancel"
Dim update As New Button
update.CommandName = "Update"
update.Text = "Update"
When I press the update or cancel button I get a strange error:
Invalid postback or callback argument.
Event validation is enabled using <pages enableEventValidation="true"/
page.in configuration or <%@ Page EnableEventValidation="true" %> in a
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.
Why am I getting this error?
Thanks,
Miguel