I am using a POPUP edit form for my grid and I set focus to a control in the ItemCreated event. This works fine for textboxes but when I try to set focus to a RadComboBox it does not work. I do not receive an error, focus is just never set.
Anyone know how to make this work or explain what I may be missing here?
Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
Anyone know how to make this work or explain what I may be missing here?
Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
If (TypeOf e.Item Is GridEditFormItem AndAlso _
e.Item.IsInEditMode) Then
Dim cboOrg As Telerik.Web.UI.RadComboBox = CType(e.Item.FindControl("cboOrgId"), Telerik.Web.UI.RadComboBox)
cboOrg.Focus()
End If
end sub