Invalid postback or callback argument. Event validation is enabled using ''

后端 未结 30 1434
生来不讨喜
生来不讨喜 2020-11-22 05:08

I am getting the following error when I post back a page from the client-side. I have JavaScript code that modifies an asp:ListBox on the client side.

How do we fix

30条回答
  •  灰色年华
    2020-11-22 05:16

    Best option to do is use hidden field and do not disable event validation, also change every listbox, dropdownlist to select with runat server attribute

提交回复
热议问题