I'm building a grid where a GridViewComboBox will have its list dynamically updated based on the selection of an item in a previous column. I've read numerous posts about how to and how not to do this and they all make sense but I'm having one tiny problem that I cannot resolve (its because of my newness to this Grid I'm sure!)
Here's the code:
Private Sub ATGrid_EditorRequired(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.EditorRequiredEventArgs) Handles ATGrid.EditorRequired
If ATGrid.CurrentColumn.Name.ToLower = "messagecodetype" Then
If e.EditorType Is GetType(RadComboBoxEditor) Then
RemoveHandler DirectCast(e.Editor, RadComboBoxEditor).ValueChanged, AddressOf Editor_ValueChanged
AddHandler DirectCast(e.Editor, RadComboBoxEditor).ValueChanged, AddressOf Editor_ValueChanged
End If
End If
End Sub
See where it says "RadComboBoxEditor" ? My Visual Studio 2017 code says, "RadComboBoxEditor not defined"
My form imports the following:
Imports Telerik.WinControls
Imports Telerik.WinControls.UI
but clearly this object is either not exposed or not found in either namespaces. Can someone direct me to the correct namespace, please?
Thanks much!
-Curtis