Sunday, March 11, 2012

Yikes! buttons in datagrid lose event handler after back button hit

Actually, it is the itemCommand of the cell in the datagrid that doesn't fire after the back, not the button itself in the cell.

so after the back button is hit this event handler assignment is ignored:

myDataGrid.ItemCommand += new DataGridCommandEventHandler(myDataGrid.ItemCommandHandler);

Any ideas?

No comments:

Post a Comment