Hello, i've try to add a event (OnClick) on my GridButtonColumn:
if (e.Item.OwnerTableView.Name == "ChildTableName")
{
ImageButton LinkButton = (ImageButton)item["BtnCol"].Controls[0];
LinkButton.ToolTip = ResourceProvider.GetLocalValue("Cfg_Carousel_Peg_Bobbins_Details");
// [...] AddAttribute
}
But I need to intercept the button with UniqueName BtnCol value into if statement:
<telerik:GridButtonColumn
UniqueName="BtnCol"
ButtonType="ImageButton"
ImageUrl="Images/Generic/Icons/info.gif"
CommandName="BobbinsDetails">
<HeaderStyle Width="30px"></HeaderStyle>
</telerik:GridButtonColumn>
What?
Thanks
if (e.Item.OwnerTableView.Name == "ChildTableName")
{
ImageButton LinkButton = (ImageButton)item["BtnCol"].Controls[0];
LinkButton.ToolTip = ResourceProvider.GetLocalValue("Cfg_Carousel_Peg_Bobbins_Details");
// [...] AddAttribute
}
But I need to intercept the button with UniqueName BtnCol value into if statement:
<telerik:GridButtonColumn
UniqueName="BtnCol"
ButtonType="ImageButton"
ImageUrl="Images/Generic/Icons/info.gif"
CommandName="BobbinsDetails">
<HeaderStyle Width="30px"></HeaderStyle>
</telerik:GridButtonColumn>
What?
Thanks