Rowcommand do not fire after clicking button

前端 未结 2 752
后悔当初
后悔当初 2021-01-05 11:54

I have already find out the solution, i just want to post it so this may be useful for some people

This is the button that use command



        
2条回答
  •  無奈伤痛
    2021-01-05 12:08

    You may have made EnableViewState="false" in grid.

    If this is the case, Rowcommand Event will also not fire.

    You have made EnableEventValidation="true" on page.

    If this is the case, RowCommand Event Will Not Fire, Set This To false.

    The solution is to set it to true.

提交回复
热议问题