This article provides answers for some of the most frequently asked questions when working with the Telerik UI for ASP.NET AjaxManager.
At the end of the article you will also find a list containing links to specific Knowledge Base articles covering the most common how-to and troubleshooting scenarios.
For faster navigation, the links are grouped into the following sets:
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.
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.
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.
Depending on your application, use a single AjaxPanel to wrap the two controls, or an AjaxManager if the controls are non-adjacent.
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
Use the client-side
OnResponseEnd client-side event. For details, refer to the article on disabling controls during Ajax for details.