We have two buttons behind one ajax panel. When clicked, the first button needs to show one loading panel, and then second button needs to show a different loading panel when it is clicked. We cannot place these items into separate ajax panels, they need to stay within the same panel (one button updates some properties on the other button). Is there any way to change which loading panel gets triggered based on which button was clicked?
5 Answers, 1 is accepted
I've actually never used that before, could you provide a small example, or point me to an existing demo if one in fact does exist? If there are a bunch of other controls on the page that need ajaxing as well, would I need to specify each of them manually as well?
Please refer to the RadAjaxManager documentation:
Here is a simple demo:
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can enable AJAX for any child control manually following this approach: Add AjaxSettings Programmatically.
Also, I would like to Note that child controls should not be added to the AJAX settings if their parents are already Ajaxified. This will Nest the UpdatePanels and will produce unexpected behavior.
For example, if you have several buttons in a grid template you would like to enable AJAX for, you can do that using the approach presented in the article I've shared above, however, you must ensure that the Grid itself is not Ajaxified.