开发者

Strange Behavior of Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation

I dont get the error when my development database is active

The production database gives the error, the only difference is DATA !!! How possibly can this happen ?

开发者_JS百科

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.


I did run into a similar issue with the Cascading Dropdowns. Here are various ways into solving this issue:

  1. Create a derived class for the dropdownlist as done here
  2. The detailed info can be found here

I hope that it will help

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜