Hi,
I am using a Radgrid Hierarchy with girdimagebuttons. And I am ptoviding the tooltip to the buttons using the below code and it works fine.
The Issue is When i click the Expandcolumn in my radgrid Hierarchy I am getting error like cell bound column is not find. Please see the Images. Please let me know how to achieve this.
Thanks.
I am using a Radgrid Hierarchy with girdimagebuttons. And I am ptoviding the tooltip to the buttons using the below code and it works fine.
<
telerik:GridButtonColumn
UniqueName
=
"EditCMNbr"
CommandName
=
"EditCM"
ImageUrl
=
"~/Images/edit-icon-v5.gif"
ButtonType
=
"ImageButton"
HeaderStyle-Width
=
"3%"
ItemStyle-Width
=
"3%"
>
</
telerik:GridButtonColumn
>
<
telerik:GridButtonColumn
UniqueName
=
"AddSMNbr"
CommandName
=
"AddSM"
ImageUrl
=
"~/Images/add-icon.png"
ButtonType
=
"ImageButton"
HeaderStyle-Width
=
"3%"
ItemStyle-Width
=
"3%"
>
</
telerik:GridButtonColumn
>
protected
void
RGCMnbr_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
{
GridDataItem dataItem = (GridDataItem)e.Item;
ImageButton btnEditCM = (ImageButton)dataItem[
"EditCMNbr"
].Controls[0];
btnEditCM.ToolTip =
"Edit CM"
;
ImageButton btnAddSM = (ImageButton)dataItem[
"AddSMNbr"
].Controls[0];
btnAddSM.ToolTip =
"Add SM"
;
}
}
The Issue is When i click the Expandcolumn in my radgrid Hierarchy I am getting error like cell bound column is not find. Please see the Images. Please let me know how to achieve this.
Thanks.