I could be way off with this but doesn't the filling of a combo box have to be done explicitly?
I do it in the code behind, on the ItemDataBound event handler
Protected
Sub
gvVendor_ItemDataBound(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.GridItemEventArgs)
Handles
gvVendor.ItemDataBound
Dim
dgItem
As
GridDataItem =
Nothing
Dim
gefItem
As
GridEditFormItem =
Nothing
Dim
geItem
As
GridEditableItem =
Nothing
If
TypeOf
e.Item
Is
IGridInsertItem
Then
ElseIf
TypeOf
e.Item
Is
GridDataItem
Then
dgItem =
CType
(e.Item, GridDataItem)
FillInCheckBoxes(dgItem)
End
If
If
TypeOf
e.Item
Is
GridEditableItem
Then
geItem =
CType
(e.Item, GridEditableItem)
FillInRepGroups(geItem)
End
If
End
Sub
Private
Sub
FillInRepGroups(
ByVal
geItem
As
GridEditableItem)
Dim
geManager
As
GridEditManager =
Nothing
Dim
gddlEditor
As
GridDropDownListColumnEditor =
Nothing
Dim
rcbRepGroup
As
RadComboBox
Dim
rcbItem
As
RadComboBoxItem =
Nothing
Dim
ds
As
DataSet =
Nothing
Dim
ws
As
CommonFunctions
If
geItem.IsInEditMode
Then
Else
Exit
Sub
End
If
geManager = geItem.EditManager
gddlEditor =
CType
(geManager.GetColumnEditor(
"RepGroup"
), GridDropDownColumnEditor)
rcbRepGroup = gddlEditor.ComboBoxControl
ws =
New
CommonFunctions
ds = ws.GetRepGroups
rcbRepGroup.DataSource = ds.Tables(0)
rcbRepGroup.DataValueField =
"RepGroupsID"
rcbRepGroup.DataTextField =
"RepGroups"
rcbRepGroup.DataBind()
rcbItem =
New
RadComboBoxItem(
"Select One"
, 0)
rcbRepGroup.Items.Insert(0, rcbItem)
End
Sub