I have the following columns in a RadGrid
which, when rendered in in-place edit mode, looks like this:
Note that for the first (string) column, the input id ends with TB_NavigateTarget. Presumably, TB stands for TextBox and it inferred the rest from the DataField or UniqueName.
For the second (checkbox) column, the input id ends with ctl00, totally ignoring the DataField, UniqueName and ColumnEditorID specified in the markup. I was expecting something like Editor_Enabled or CB_Enabled
So, two questions:
1. What is the ColumnEditorID property supposed to do? It is not affecting the ID of the INPUT elements.
2. How do I get a meaningful ID on the CheckBox? I need it for when the _UpdateCommand event is fired.
I also have a GridNumericColumn and it behaves similar to the GridBoundColumn, i.e. it has a meaningful ID (RNTB_<data field>) so I know that it's not a GridBoundColumn vs. specific-type column issue.
Thanks.
<
telerik:GridBoundColumn
DataField
=
"NavigateTarget"
HeaderText
=
"Navigate Target"
UniqueName
=
"NavigateTarget"
DataType
=
"System.String"
ColumnEditorID
=
"Editor_NavigateTarget"
/>
<
telerik:GridCheckboxColumn
DataField
=
"Enabled"
HeaderText
=
"Enabled"
UniqueName
=
"Enabled"
DataType
=
"System.Boolean"
ColumnEditorID
=
"Editor_Enabled"
/>
which, when rendered in in-place edit mode, looks like this:
Note that for the first (string) column, the input id ends with TB_NavigateTarget. Presumably, TB stands for TextBox and it inferred the rest from the DataField or UniqueName.
For the second (checkbox) column, the input id ends with ctl00, totally ignoring the DataField, UniqueName and ColumnEditorID specified in the markup. I was expecting something like Editor_Enabled or CB_Enabled
So, two questions:
1. What is the ColumnEditorID property supposed to do? It is not affecting the ID of the INPUT elements.
2. How do I get a meaningful ID on the CheckBox? I need it for when the _UpdateCommand event is fired.
I also have a GridNumericColumn and it behaves similar to the GridBoundColumn, i.e. it has a meaningful ID (RNTB_<data field>) so I know that it's not a GridBoundColumn vs. specific-type column issue.
Thanks.