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

A way to force a full page refresh from the server-side code?

1 Answer 1388 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 01 Jul 2011, 03:39 PM
I'm using the RadAjaxManagerProxy to ajaxify a control.

There are certain scenarios where I need to do a full page refresh when this control does a postback.  The logic that knows when the full page refresh is needed happens on the server.  So, what happens is the client initiates the partial page refresh, but then the server side code needs to override that and force a full page refresh.  I'm currently doing this by calling Response.Redirect to the same page, but that's causing some problems.  Is there another way for the server side code to override the partial page refresh and force it to refresh the full page? 

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 04 Jul 2011, 04:23 PM
Hello Mike,

Please refer to the following help topic which elaborates on this matter:
http://www.telerik.com/help/aspnet-ajax/ajax-forcing-postback.html

Also if you still need to redirect the page you could use the RadAjax.Redirect() method as described here.

I hope this helps.

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.

Tags
Ajax
Asked by
Mike
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or