I am testing a hierarchical radgrid. I allow the user to expand a row which displays the detail table. Then the user has the option to add, update or delete records in the detail table. For the add and update I use a popup form. In the popup form I have a column the user enters that is a checkboxcolumn. If the user checks the box then I want to make the rest of the columns in the form set so the user cannot enter any information. If the user does not check the box, then they continue on entering the rest of the information. Obviously this requires javascript. I have used this before in a single level radgrid. However, I do not know how to use javascript to access this checkbox that is nested inside of a detail table. To avoid posting a great deal of code, here's a basic outline of what I have including examples of the checkbox field and a subsequent numeric entry that may or may not be needed. How do I perform a $find in javascript on the "Test1" checkbox? Thanks...
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
</
script
>
</
telerik:RadCodeBlock
>
RadGrid ID=”RadGrid1”
MasterTableView
DetailTables
GridTableView EditMode=”Popup”
EditFormSettings
Columns
FormTemplate
Formview
<
telerik:GridCheckBoxColumn
DataField
=
"TestTitle"
HeaderText
=
"Title?"
UniqueName
=
"Test1"
>
</
telerik:GridCheckBoxColumn
>
<
telerik:GridNumericColumn
DataField
=
"TestNbr"
HeaderText
=
"Number"
UniqueName
=
"Test2"
</telerik:GridNumericColumn>