I am using RadGrid in a DotNetNuke module and am trying to access a check box within an edit form template on the grid on the client, without success.
If I put a check box outside the grid I can access it without difficulty.
Normally I would access controls on a form on the client side using something like:
var gridControl = document.getElementById("<%= grd.ClientID %>");
alert(gridControl.id);
This works for the grid and if I use something similar with a check box outside the grid it also works.
var cb= document.getElementById("<%= myCheckBox.ClientID %>");
alert(cb.id);
How can I access the check box within the edit form of a rad grid? The checkbox does not exist in the Item template only the edit item template.
A sample would be appreciated.
Declan
If I put a check box outside the grid I can access it without difficulty.
Normally I would access controls on a form on the client side using something like:
var gridControl = document.getElementById("<%= grd.ClientID %>");
alert(gridControl.id);
This works for the grid and if I use something similar with a check box outside the grid it also works.
var cb= document.getElementById("<%= myCheckBox.ClientID %>");
alert(cb.id);
How can I access the check box within the edit form of a rad grid? The checkbox does not exist in the Item template only the edit item template.
A sample would be appreciated.
Declan