RadControls for ASP.NET AJAX
Q: I have a button and a control (RadTreeView for example). The button should update the control with AJAX. How should I proceed?
A: You should use RadAjaxManager. In the left pane of its designer select the button and in the middle pane select the treeview. Click OK and run the page.
Q: My control is within RadAjaxPanel and I want to update a control in another RadAjaxPanel. Is this possible?
A: Instead of using two AJAX Panels, consider using a single AJAX Manager. However if you still want to use the two panels, you should make external call from the AJAX-initiator control to the AjaxRequest client-side function of the target AJAX Panel. (see AJAX Panel topic)
Q: I need to load an user control dynamically with AJAX. Is this possible?
A: There is no difference between the standard loading of controls and AJAX loading. Please, carefully review the Loading User Controls topic in order to correctly load user controls dynamically.
Q: I have two controls that interact and update each other. How should I ajaxify them?
A: Depending on your application you can use a single Panel to wrap the two controls or AJAX Manager in case the controls are non-adjacent.
Q: Can I use RadAjaxPanel in another RadAjaxPanel (i.e. nested AJAX Panels)?
A: There should be no problem to use nested AJAX Panels. However we recommend you to revise the page logic and see if you can achieve the same behavior with RadAjaxManager.
Q: I have a client-side code, which is executed on some of the events of a control inside RadAjaxPanel. How should I proceed?
A: There is nothing special that you need to do in this case - RadAjaxPanel automatically evaluates the client-side code and does not require you to write additional code.
Q: I have a control A, which updates control B, which then updates control C. The control C then updates control A again. Controls are dependent on each other and should be updated sequentially. What would you suggest?
A: The answer depends on how the controls are placed on the Page. In case they are neighboring, place them in AJAX Panel. In case they are non-adjacent, use RadAjaxManager and set the AJAX Relations.
Q: I need my controls disabled during AJAX. What should I do?