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)
精彩评论