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

Force RAD AJAX Panel to update

10 Answers 1220 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jacques Woolston
Top achievements
Rank 1
Jacques Woolston asked on 29 Aug 2007, 03:08 PM
Hi,

Is there a way to force the RAD AJAX Update Panel to update in the same way you can with the MS Update Panel, for some reason the RAD one is not updating controls within when another MS Update Panel modifies the content within the RAD panel.

Thanks

10 Answers, 1 is accepted

Sort by
0
plamen
Top achievements
Rank 1
answered on 30 Aug 2007, 11:22 AM
hi


Can you please paste your complete C#/VB.NET ASPX and Javascript code here, so I can take a look at it.
And please elaborate and give me the steps needed to reproduce the problem.

Best...
[John Peel]
0
Jacques Woolston
Top achievements
Rank 1
answered on 31 Aug 2007, 11:36 AM
I'll create a complete sample project with examples and open a support itcket if that's easier, it's quite a lot of code!
0
Jacques Woolston
Top achievements
Rank 1
answered on 04 Sep 2007, 12:22 PM
I have now submitted a support ticket with an example regarding this thread.
0
Sebastian
Telerik team
answered on 04 Sep 2007, 12:38 PM
Hello Jacques,

We will review the example and will get back to you with more info.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Johnson
Top achievements
Rank 1
answered on 09 Sep 2007, 06:49 PM
I'm currently using the following to trigger a postback in ajax panel to refresh the panel:

function refreshData()  
{  
   var pnl = <%= RadAjaxPanel1.ClientID %>;  
   pnl.AjaxReqeustWithTarget('<%= RadAjaxPanel1.UniqueID %>','');  

It seems to be working, but the loadingpanel isn't displaying?  What am I doing wrong?  Is there a better method?
0
Steve
Telerik team
answered on 10 Sep 2007, 08:08 AM
Hello Johnson,

You can directly invoke the AjaxRequest() method of the AjaxPanel in order to trigger the update, AjaxRequestWithTarget() is only being used when you need some other control to fire up its default event. Currently there is a known problem with LoadingPanel in MasterPage scenarios. If this is the case make sure the LoadingPanel is in the same namingcontainer and set the LoadingPanelID from code behind.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alaa Majzoub
Top achievements
Rank 2
answered on 17 Feb 2010, 05:27 PM
How to do that from code behind?

the idea is that i have an AjaxPanel inside a usercontrol, and i update a textbox inside that panel from the containing form, but the text is not updating unless something is HARD refreshing the panel.

is there a way to force reload from code behind?

0
Sebastian
Telerik team
answered on 17 Feb 2010, 05:36 PM
Hello Alaa,

I think that the information from the help topic below will help you achieve your goal:
http://www.telerik.com/help/aspnet-ajax/ajxinteractionbetweenpanels.html

Best regards,
Sebastian
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.
0
Alaa Majzoub
Top achievements
Rank 2
answered on 18 Feb 2010, 08:44 AM
Unfortunately Sebastian, this is more a javascript solution (client side), i cannot use it since the two AjaxPanels exists in two different contexts and linking between them would be very difficult.

isnt there a common library of module between all AjaxPanels? i imagines that there is somethings like:

BigBrother.Execute(String.Format("$find('{0}').ajaxRequest();", RadAjaxPanel2.ClientID)); 

0
Sebastian
Telerik team
answered on 18 Feb 2010, 09:48 AM
Hello Alaa,

In such case you may consider ajaxifying the entire scenario with single RadAjaxManager and specify appropriate ajax settings/invoke its ajaxRequest method when needed. Examine the implementation from the following online example for further details:

http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/clientsideapi/defaultcs.aspx

Best regards,
Sebastian
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.
Tags
Ajax
Asked by
Jacques Woolston
Top achievements
Rank 1
Answers by
plamen
Top achievements
Rank 1
Jacques Woolston
Top achievements
Rank 1
Sebastian
Telerik team
Johnson
Top achievements
Rank 1
Steve
Telerik team
Alaa Majzoub
Top achievements
Rank 2
Share this question
or