In the old RadControls (2008 Q1). I had code to add ajax settings from within a usercontrol to the ajaxmanager on the containing page. (Senario is I have a set of dynamically created controls for different cultures, and one field for each culture does apostback to check the value is unique in database).
When I upgraded to AJAX controls (2008 Q3), this no longer works as it used to, it does the Ajax Postback and displays the loading bar as expected, but after the ajax call has finished the field disappears, any reason why?
When I upgraded to AJAX controls (2008 Q3), this no longer works as it used to, it does the Ajax Postback and displays the loading bar as expected, but after the ajax call has finished the field disappears, any reason why?
This is where the AjaxSetting is added in the Page_Load of my User Control, If i comment this out the ajax of the outer containing panel handles the ajax call and everything is fine, but this is added in the page not the user control?
Dim oAjaxManager As Telerik.Web.UI.RadAjaxManager
oAjaxManager = RadAjaxManager.GetCurrent(Page)
Dim oAjaxLoadingBar As Telerik.Web.UI.RadAjaxLoadingPanel
oAjaxLoadingBar = Page.FindControl( "AjaxLoadingBar")
If Not IsNothing(oFriendlyURL) And Not IsNothing(oFriendlyURLError) Then |
oAjaxManager.AjaxSettings.AddAjaxSetting(oFriendlyURL, oFriendlyURL, Nothing) |
oAjaxManager.AjaxSettings.AddAjaxSetting(oFriendlyURL, oFriendlyURLError, oAjaxLoadingBar) |
End If |