I have the AjaxManager on my master page. On the content page the submit buttons on master and content are working fine.
Dim RadAjaxManager1 As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
RadAjaxManager1.AjaxSettings.AddAjaxSetting(btnSave, pnlError)
RadAjaxManager1.AjaxSettings.AddAjaxSetting(btnSave, pnlSuccess)
Dim btnBottom As RadButton = CType(Me.Master.FindControl("btnBottom"), RadButton)
RadAjaxManager1.AjaxSettings.AddAjaxSetting(btnBottom, pnlError)
RadAjaxManager1.AjaxSettings.AddAjaxSetting(btnBottom, pnlSuccess)
When I add the below condition to have one combobox control another I get the error: TypeError: a.get_postBackElement(...) is undefined
RadAjaxManager1.AjaxSettings.AddAjaxSetting(rcbDivision, rcbApplicationCategory)
Works fine without the Ajaxmanagersetting.
Protected Sub Division_SelectedIndexChanged(sender As Object, e As RadComboBoxSelectedIndexChangedEventArgs)
rcbApplicationCategory.Text = ""
rcbApplicationCategory.Items.Clear()
If sender.SelectedValue = "PC" Then
BindApplicationCategoryPC(rcbApplicationCategory)
ElseIf sender.SelectedValue = "IN" Then
BindApplicationCategoryIN(rcbApplicationCategory)
Else
rcbApplicationCategory.Enabled = False
End If
End Sub