Hi there,
I have a need to access a ComboBox that is inside the Edit/Insert form from the AjaxRequest method of the RadAjaxManager. I have no problem accessing the combobox if a record is being edited using the following code:
However I can't seem to figure out how to access the combobox if a record is being Inserted.
Any help?
Thanks!
I have a need to access a ComboBox that is inside the Edit/Insert form from the AjaxRequest method of the RadAjaxManager. I have no problem accessing the combobox if a record is being edited using the following code:
| Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest |
| Dim RadComboBoxName As RadComboBox = Nothing |
| For Each myItem As GridDataItem In RadGridPpoCodes.EditItems |
| RadComboBoxName = TryCast(myItem.EditFormItem.FindControl("RadComboBoxName"), RadComboBox) |
| If Not RadComboBoxName IS Nothing Then |
| RadComboBoxName.DataBind() |
| End If |
| Next |
| End Sub |
However I can't seem to figure out how to access the combobox if a record is being Inserted.
Any help?
Thanks!