开发者

Will DataGrid Events stop firing once the grid is placed in an UpdatePanel?

Will DataGrid Events like OnPageIndexChanged,OnItemCreated,OnItemCommand,OnItemDataBound stop firing once the grid is placed in an UpdatePan开发者_如何学编程el?


You might need to register each and every LinkButton (I'm asssuimg you're using a LinkButton) as an AsyncPostBackTrigger. After each row is bound in your DateGrid (ie: onRowDataBound), you'll need to search for the LinkButton and register it through code as follows:

LinkButton lb = e.Row.FindControl("MarkAsCompleteButton") as LinkButton;  
ScriptManager.GetCurrent(this).RegisterAsyncPostBackControl(lb)
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜