This is a migrated thread and some comments may be shown as answers.

Multiple Panels Updates

4 Answers 104 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 14 Dec 2010, 05:42 PM
I have multiple panels on a page.  Normally I only need to refresh one panel at a time from editing customer info.  However, in the instance when I want to make a payment, I need to update several panels.

When a popup window closes I've tried the following to refresh my panels, but only the first panel gets refreshed.  Anyone have any idea how to refresh multiple panels in this instance? 

                    ajaxManager = $find("<%=MakePaymentButtonPanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");
                    ajaxManager = $find("<%=MakePaymentPanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");
                    ajaxManager = $find("<%=PaymentsMadePanel.ClientID %>");
                    ajaxManager.ajaxRequest("MakePayment");                   

4 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 15 Dec 2010, 02:05 PM
Hello Travis,

I would suggest using the RadAjaxManager to update multiple controls. I believe the issue with you executing the ajaxRequest method on the three panels must be intefering with each controls ajax request and possibly canceling the others out.
0
Travis
Top achievements
Rank 1
answered on 15 Dec 2010, 04:56 PM
Are there any examples on how to do this?
0
Maria Ilieva
Telerik team
answered on 20 Dec 2010, 12:54 PM
Hello Travis,

You can use RadAjaxManager control and set the specific setting in which you can specify which control to update exactly which other control on the page. Please refer to the following help topic for more information on the RadAjaxManager functional abilities.


Greetings,
Maria Ilieva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Travis
Top achievements
Rank 1
answered on 20 Dec 2010, 05:38 PM
I'll mark this as the answer, but still having trouble seeing how to do this with client script.  I'll reread the article and try to figure out what I'm wrong.
Tags
Ajax
Asked by
Travis
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Travis
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or