I added a combobox to a dataform:
<telerik:RadComboBox ID="StatusCombo" runat ="server" SelectedValue='<%# Eval("OrganisationStatusID")%>' DropDownAutoWidth ="Enabled" AutoPostBack ="true" ValueType="System.Int32" Skin="<%#Container.OwnerDataForm.Skin %>" OnItemsRequested ="StatusCombo_ItemsRequested"></telerik:RadComboBox>
However the StatusCombo_ItemsRequested event does not fire?!
Tried this:
Private Sub MainDataForm_ItemEditing(sender As Object, e As RadDataFormCommandEventArgs) Handles MainDataForm.ItemEditing
Dim cb As RadComboBox = MainDataForm.FindControl("StatusCombo")
The event fires, but it never finds the combobox.
Are there any samples on how to reference/ databind controls (like a listbox or combobox) contained in the edit/insert templates of the dataform ?
<telerik:RadComboBox ID="StatusCombo" runat ="server" SelectedValue='<%# Eval("OrganisationStatusID")%>' DropDownAutoWidth ="Enabled" AutoPostBack ="true" ValueType="System.Int32" Skin="<%#Container.OwnerDataForm.Skin %>" OnItemsRequested ="StatusCombo_ItemsRequested"></telerik:RadComboBox>
However the StatusCombo_ItemsRequested event does not fire?!
Tried this:
Private Sub MainDataForm_ItemEditing(sender As Object, e As RadDataFormCommandEventArgs) Handles MainDataForm.ItemEditing
Dim cb As RadComboBox = MainDataForm.FindControl("StatusCombo")
The event fires, but it never finds the combobox.
Are there any samples on how to reference/ databind controls (like a listbox or combobox) contained in the edit/insert templates of the dataform ?