Reputation: 6325
Will DataGrid Events like OnPageIndexChanged,OnItemCreated,OnItemCommand,OnItemDataBound
stop firing once the grid is placed in an UpdatePanel?
Upvotes: 0
Views: 290
Reputation: 49423
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)
Upvotes: 1