Hi,
I have the following in a GridTemplateColumn
On the ItemDataBound I am trying to add the OnClientClicked Event, I've also tried the OnClientCheckChanged. I find the control in Editemode and try the below
I have the following in a GridTemplateColumn
<
telerik:RadButton
ID
=
"rbTest"
runat
=
"server"
ButtonType
=
"ToggleButton"
Style
=
"padding-left: 25px"
ToggleType
=
"CheckBox"
AutoPostBack
=
"false"
Checked='<%# Test(Eval("Test")) %>'>
<
ToggleStates
>
<
telerik:RadButtonToggleState
PrimaryIconCssClass
=
"rbOk"
/>
<
telerik:RadButtonToggleState
PrimaryIconCssClass
=
"rbCancel"
/>
</
ToggleStates
>
</
telerik:RadButton
>
rbTest.Attributes.Add(
"OnClientCheckedChanged", "return show('0','0')");
It just doesn't seem to be firing.
Any ideas?
Thanks