I have radbutton that sits within a radgrid command item
template. I’d like to somehow have some JavaScript
that gets invokes whenever a user clicks this button.
The JavaScript itself should convey to the user the checked
status of the button (radtogglestate)
Any pointers greatly appreciated.
1 Answer, 1 is accepted
0
Eyup
Telerik team
answered on 26 Dec 2014, 08:44 AM
Hello,
You can use the following client-side event handler:
var text = sender.get_selectedToggleState().get_text();
alert(text);
}
Hope this helps. Please give it a try and let me know if it works for you.
Regards,
Eyup
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.