Hi
I'm trying to add text description and linkbuttons to the groupdheaderitem of a grid. I've added the controls in both ItemDataBound and ItemCreated grid events. As per the samples I'm using
DataRowView groupDataRow = e.Item.DataItem as DataRowView;
to access the data for the row, but this is not available on postback and I can't find another way to get the data for the row.
I can't access the DatakeyValues in ItemCommand events as the itemindex isn't set on the group header.
Is there another way to customize the contents of the group header to include buttons that will postback correctly and allow me to identify the data row for the event?
I'm using the latest version of the grid.
Thanks