I have a radcombobox in a grid.. .And after the onSelectedIndexChanged event is fired on the client side I would like to hide the combobox...
function onSelectedIndexChanged(sender, eventArgs) { var selectedItem = eventArgs.get_item(); // I do some stuff with the selected item... // Now I would like to hide this radcombobox in the radgrid row... sender.set_visible(false); // This did not work...}
This is the GridTemplateColumn the control resides in:
<telerik:GridTemplateColumn HeaderText="Actions" UniqueName="Actions" AllowFiltering="false" Visible="true"> <ItemTemplate> <asp:Label ID="ActionLabel" runat="server" Text="" Visible="false" /> <telerik:RadComboBox ID="RadComboBoxActions" runat="server" EmptyMessage="Select Action..." AutoPostBack="true" Width="155px" OnClientSelectedIndexChanged="onSelectedIndexChanged" /> </ItemTemplate> <ItemStyle Width="155px" /> </telerik:GridTemplateColumn>