Frequently Asked Questions about the AjaxManager
This article provides answers to some of the most frequently asked questions (FAQ) and a list of links to the most common how-to and troubleshooting Knowledge Base scenarios you may have when working with the Telerik UI for ASP.NET AjaxManager.
For faster navigation, the links are grouped into the following sets:
This sections contains the list with the frequently asked questions about the AjaxManager and related to the Ajaxufying of projects.
How can I use Ajax to make a button update a Telerik AJAX control?
Use the AjaxManager:
In the left pane of the AjaxManager designer, select the button.
In the middle pane, select the control.
Click OK and run the page.
My control is within an AjaxPanel. How can I update a control in another AjaxPanel?
Instead of using two AjaxPanels, consider using a single AjaxManager. However, if you still want to use the two panels, make an external call from the AJAX-initiator control to the
AjaxRequest client-side function of the target AjxPanel. For more information and a demo, refer to the AjaxPanel documentation.
How can I load a user control dynamically with Ajax?
There is no difference between the standard loading of controls and AJAX loading. To correctly load user controls dynamically, review the article on loading user controls.
How can I ajaxify two controls in my project that interact and update each other?
Depending on your application, use a single AjaxPanel to wrap the two controls, or an AjaxManager if the controls are non-adjacent.
Can I use an AjaxPanel in another AjaxPanel?
Telerik UI for ASP.NET AJAX does not support the nesting of AjaxPanels. In such cases, you are recommended to revise the page logic and see if you can achieve the same behavior with the AjaxManager and regular
What to do when I have client-side code that is executed on some of the events of a control inside an AjaxPanel?
There is nothing special that you need to do in this case. The AjaxPanel automatically evaluates the client-side code and does not require you to write additional code.
I have a control A, which updates a control B, which updates a control C. Then C updates A again. How can I keep the controls dependent on each other and sequentially updated?
It depends on the way the controls are placed on the page. If the controls are neighboring, place them in an AjaxPanel. If the controls are non-adjacent, use the AjaxManager and set the AJAX
How can I disable my controls during Ajax?
Use the client-side
OnResponseEnd client-side event. For details, refer to the article on disabling controls during Ajax for details.
Show a User Confirmation Dialog and Initiate an AJAX Request
Pass Two or More Arguments in
ajaxRequestWithTargetwith the AjaxManager or AjaxPanel
Assign Different Client Events for Different Controls with the AjaxManager or AjaxPanel
Change the Mouse Cursor on Ajax Updates with the AjaxManager or AjaxPanel
Ajaxify and Update Controls in Master and Content Page with the AjaxManager
Sending and receiving AJAX requests with Telerik AjaxManager
Initiate Requests from One ContentPlaceHolder and Load or Update Controls in Another
Ajaxify Particular Templated GridView Buttons with AjaxManager
Check for Incompatible Controls and Update Third-Party Controls with Telerik AJAX
Disable AJAX with the AjaxManager When the Client Browser Does Not Support it
Download Files with an Ajaxified Control When Using the AjaxManager
EventNameProperty in the AjaxManager and UpdatePanel Controls
AjaxManager Settings Are Not Working When Controls Are Wrapped in an AjaxPanel and Added to the Settings
Force Controls in an AJAX-enabled Container to Perform a Postback