I have a grid with a ClientSelectedItem column and an item template column with a list in it. When the page loads the ClientSelectedItem is disabled. I want to enable it client side when a value is selected in the dropdown, or change it back to disabled if they change the selection in the dropdown back to nothing. Here's the column section of the grid.
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"ClientSelectColumn"
HeaderStyle-Width
=
"47px"
/>
<
telerik:GridBoundColumn
DataField
=
"CaseId"
UniqueName
=
"CASEID"
Visible
=
"false"
/>
<
telerik:GridTemplateColumn
UniqueName
=
"FIRSTLASTNAMES"
ShowFilterIcon
=
"false"
DataField
=
"FIRSTLASTNAMES"
SortExpression
=
"FIRSTLASTNAMES"
HeaderText
=
"Soldier"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
HeaderStyle-Width
=
"150px"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkBtnName"
runat
=
"server"
Text='<%# Eval("FIRSTLASTNAMES") %>' CommandArgument='<%# Eval("CASEID") %>'
CommandName="Popup" />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"SSN"
HeaderText
=
"SSN"
DataField
=
"SSN"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
HeaderStyle-Width
=
"50px"
/>
<
telerik:GridBoundColumn
UniqueName
=
"COMPANYNAME"
HeaderText
=
"CO"
DataField
=
"CompanyName"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
HeaderStyle-Width
=
"30px"
/>
<
telerik:GridBoundColumn
UniqueName
=
"PLATOON"
HeaderText
=
"PLT"
DataField
=
"PLATOON"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
HeaderStyle-Width
=
"30px"
/>
<
telerik:GridBoundColumn
UniqueName
=
"SQUADRON"
HeaderText
=
"SQD"
DataField
=
"SQUADRON"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
HeaderStyle-Width
=
"30px"
/>
<
telerik:GridBoundColumn
UniqueName
=
"CDR"
HeaderText
=
"CDR"
DataField
=
"CDR"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"SW"
HeaderText
=
"SW"
DataField
=
"SW"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"OT"
HeaderText
=
"OT"
DataField
=
"OT"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"NCM"
HeaderText
=
"NCM"
DataField
=
"NCM"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"PSG"
HeaderText
=
"PSG"
DataField
=
"PSG"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"SL"
HeaderText
=
"SL"
DataField
=
"SL"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
<
telerik:GridTemplateColumn
UniqueName
=
"SLSelection"
ShowFilterIcon
=
"false"
DataField
=
"SL"
SortExpression
=
"SL"
HeaderText
=
"Select SL"
Visible
=
"true"
>
<
ItemTemplate
>
<
telerik:RadDropDownList
ID
=
"ddlSelectedSqdLdr"
runat
=
"server"
Width
=
"100"
OnClientItemSelected
=
"modifySelection"
DefaultMessage
=
"Select..."
>
</
telerik:RadDropDownList
>
<
asp:HiddenField
ID
=
"tranferCaseId"
runat
=
"server"
Value='<%# Eval("CASEID") %>' />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
UniqueName
=
"TC"
HeaderText
=
"TC"
DataField
=
"TC"
ShowFilterIcon
=
"false"
DataType
=
"System.String"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
/>
</
Columns
>
Thanks
Rodney