Folks,
Is it possible to show/hide RadComboBox depending on the RadioButtionListSelected Value? For example In RadioButtonList1_SelectedIndexChanged event, if my RadioButtonList1's selected Value = "1", show RadcomboBox (CountryName), else hide the RadComboBox. Both My RadioButtonList and ComboBox are within EditTemplate of RadGrid.
Below is my code.
Thanks
Is it possible to show/hide RadComboBox depending on the RadioButtionListSelected Value? For example In RadioButtonList1_SelectedIndexChanged event, if my RadioButtonList1's selected Value = "1", show RadcomboBox (CountryName), else hide the RadComboBox. Both My RadioButtonList and ComboBox are within EditTemplate of RadGrid.
Below is my code.
Thanks
<telerik:GridTemplateColumn DataField="rblLIST" HeaderText="rbl" UniqueName="rBL"> <EditItemTemplate> <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack = "true" onselectedindexchanged="RadioButtonList1_SelectedIndexChanged" RepeatDirection="Horizontal"> <asp:ListItem Text="Yes" Value="1"></asp:ListItem> <asp:ListItem Text="No" Value="2"></asp:ListItem> </asp:RadioButtonList> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn DataField="CountryName" HeaderText="Country" UniqueName="CountryName"> <ItemTemplate> <asp:Label ID="Label3" runat="server" Text='<%# Eval("CountryName") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <telerik:RadComboBox ID="rcbCountries" runat="server" AutoPostBack="true" Skin="Vista" DataTextField="Name" DataValueField="CountryID"> </telerik:RadComboBox> </EditItemTemplate> </telerik:GridTemplateColumn>