Error: Invalid postback or callback argument

后端 未结 5 1145
無奈伤痛
無奈伤痛 2020-12-18 07:05

I am getting the following error on a button click with gridview

 Server Error in \'/\' Application.
Invalid postback or callback argument.  Event validation         


        
5条回答
  •  囚心锁ツ
    2020-12-18 07:54

    A few things to try

    1. In your Page Load event, add a check for !Page.IsPostBack and move the non-authenticating code block there.
    2. Experiment using a LinkButton instead of a regular button.

提交回复
热议问题