Hi,
I have grid where i have 2 RadCombobox in 2 columns of Radgrid. See below
Now what i want. On selection of any RadCombobox of these 2 column at first, the second RadCombobox will be disabled. means We can not select both combobox Values at the same time. either First combobox or second one not both at the same time in Edit Command
Can anyone tell me How to do that ?
Thanks,
--Jai
I have grid where i have 2 RadCombobox in 2 columns of Radgrid. See below
<
telerik:GridTemplateColumn
UniqueName
=
"XYZDropDownType"
HeaderText
=
"XYZ DropDown Type"
SortExpression
=
"XYZDropDownType"
>
<
ItemTemplate
>
<%#DataBinder.Eval(Container.DataItem,"XYZDropdownType")%>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox2"
runat
=
"server"
DataTextField
=
"Description"
Width
=
"150px"
MaxHeight
=
"200"
SkinID
=
"EzComboBox"
DataSourceID
=
"ObjectDataSource2"
AppendDataBoundItems
=
"true"
DataValueField
=
"XYZDropdownTypeId"
SelectedValue='<%#Bind("XYZDropdownTypeId") %>'
EnableVirtualScrolling="True">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Choose One"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"ABCType"
HeaderText
=
"ABC Type"
SortExpression
=
"ABCTypeName"
>
<
ItemTemplate
>
<%#DataBinder.Eval(Container.DataItem,"ABCTypeName")%>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox3"
runat
=
"server"
DataTextField
=
"Type"
Width
=
"160px"
MaxHeight
=
"200"
SkinID
=
"EzComboBox"
DataSourceID
=
"ObjectDataSource3"
AppendDataBoundItems
=
"true"
DataValueField
=
"ABCTypeId"
SelectedValue='<%#Bind("ABCTypeId") %>'
EnableVirtualScrolling="True">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Choose One"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
Now what i want. On selection of any RadCombobox of these 2 column at first, the second RadCombobox will be disabled. means We can not select both combobox Values at the same time. either First combobox or second one not both at the same time in Edit Command
Can anyone tell me How to do that ?
Thanks,
--Jai