Here is the page code
<
telerik:RadGrid ID="RadGrid1" runat="server">
<HeaderContextMenu EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200">
</CollapseAnimation>
</HeaderContextMenu>
<MasterTableView CommandItemDisplay="Top" DataKeyNames="Contact_ID" Width="100%"
ExpandCollapseColumn-Display="true" HierarchyDefaultExpanded="false"
EditMode="EditForms" AllowPaging="True" PageSize="5">
<ItemTemplate>
<span lang="en-us">ITEM TEMPLATE</span>
</ItemTemplate>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<asp:DropDownList ID="cboCountry" runat="server" Enabled="false">
</asp:DropDownList>
<asp:Button runat="server" ID="butCountry" text="change" CausesValidation="False"
CommandName="ChangeCountry" />
<br />
<br />
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200">
</CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
and here is the Item_command event in the code behind
Private Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
Dim strCommand As String
strCommand = e.CommandName.ToUpper
Select
Case strCommand
Case Is = "CHANGECOUNTRY"
Dim editItem As GridDataItem = CType(e.Item, GridDataItem)
Dim
ContactCombo As DropDownList = CType(editItem.FindControl("cboCountry"), DropDownList)
ContactCombo.Enable = "True"
End Select
End Sub
Why is it that I can't get a handle to the combo box ?
Any help would be great !