Hi,
I have tried searching for this issue, but not found a relevant post, so here is my question/problem.
Using 2008 Q3 RadGrid (Ajax), Dot net 3.5
The GridGroupFooterItem does not allow reference to a column by UniqueName, this contrasts with GridDataItem and GridFooterItem.
Basically, in the ItemDataBound event, if e.Item is a GridDataItem or a GridFooterItem, it is possible to reference a partiucular column by the column UniqueName using CType(e.Item, GridDataItem)("UniqueName").Text or CType(e.Item, GridFooterItem)("UniqueName").Text.
Unfortunately, when e.Item is a GridGroupFooterItem, this technique no longer works (Get an error about no default property). I would guess that since GroupFooters were a recent addition, the particular feature was just forgotten.
Of course I don't want to use numeric indexes CType(e.Item, GridGroupFooterItem).Cells(xx) since that breaks the column independence idea of UniqueNames.
How can I dynamically discover the cell (or the cell index) from the unique name?
I have tried searching for this issue, but not found a relevant post, so here is my question/problem.
Using 2008 Q3 RadGrid (Ajax), Dot net 3.5
The GridGroupFooterItem does not allow reference to a column by UniqueName, this contrasts with GridDataItem and GridFooterItem.
Basically, in the ItemDataBound event, if e.Item is a GridDataItem or a GridFooterItem, it is possible to reference a partiucular column by the column UniqueName using CType(e.Item, GridDataItem)("UniqueName").Text or CType(e.Item, GridFooterItem)("UniqueName").Text.
Unfortunately, when e.Item is a GridGroupFooterItem, this technique no longer works (Get an error about no default property). I would guess that since GroupFooters were a recent addition, the particular feature was just forgotten.
Of course I don't want to use numeric indexes CType(e.Item, GridGroupFooterItem).Cells(xx) since that breaks the column independence idea of UniqueNames.
How can I dynamically discover the cell (or the cell index) from the unique name?