I can't find ASP.NET Checkbox in Radgrid row with Client side Javascript in the RowDatabound event. I would think this would be simple to do. I must be doing something silly.
I am able to find a Telerik control but not a ASP.NET control
Here is the grid code
Thanks
I am able to find a Telerik control but not a ASP.NET control
function RadGrid1_RowDataBound(sender, args) { // this works var radTextBox1 = args.get_item().findControl("LastName"); // find control radTextBox1.set_value(args.get_dataItem()["Enabled2"]); // This does not work var MyCheckbox = args.get_item().findControl("CheckBoxEnabled"); // find control }Here is the grid code
<telerik:GridTemplateColumn HeaderText="Enabled" AllowFiltering="False"> <HeaderStyle Width="40px" /> <ItemStyle Width="40px" /> <ItemTemplate> <!-- Can find this --> <telerik:RadTextBox ID="LastName" runat="server" Width="80px" /> <!-- Cannot find this --> <asp:CheckBox ID="CheckBoxEnabled" runat="server" /> </ItemTemplate> </telerik:GridTemplateColumn>Thanks