GridView RowCommand event not firing

前端 未结 10 686
粉色の甜心
粉色の甜心 2020-12-06 09:42

I have a GridView that looks something like this:



        
10条回答
  •  执念已碎
    2020-12-06 10:16

    You must not bind your grid on postbacks in Page_Load, only when something changed that causes the Grid to reload data(f.e. Sorting,Paging) and only in the appropriate event-handlers.

    Another possible reason: Have you disabled ViewState somewhere?

提交回复
热议问题