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

Problems with RadScriptManager and EnableHistory

1 Answer 165 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Magnus Lund
Top achievements
Rank 1
Magnus Lund asked on 28 Jan 2010, 04:41 PM
Hi,

I'm having problems when using RadScriptManager with EnableHistory set to true, and using the RadAjaxManager to ajaxify the page.

I have a page with a row buttons - when a button is clicked, a corresponding usercontrol is dynamically loaded into a ContentPlaceHolder on the page. I've ajaxified this, using the RadAjaxManager, and it works fine. Though, I would like to have the browsers backward and forward buttons to work as well. 

In order to do so, I've set the EnableHistory property of the RadScriptManager to true. And I'm adding history points using the AddHistoryPoint method and implementing OnNavigate to restore "state". However the buttons and ContentPlaceHolder aren't updated with the RadAjaxManager - though Page's title updates correctly - when clicking the forward or backward button of the browser. 

The code works, if I replace the RadAjaxManager with an ASP.Net ajax UpdatePanel instead, and call UpdatePanel.Update from OnNavigate method. I'm guessing, I’m missing the functionality of the Update() method of the UpdatePanel, with using the RadAjaxManager - but I can't find any way to force an update with RadAjaxManager.

Any ideas? Any help would be much appreciated

Best regards,

Magnus 

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 02 Feb 2010, 02:18 PM
Hi Magnus,

Please review this help article for more information on RadAjax and browsers Back and Forward buttons.
Also please check out these online documentation articles which explain how to ajaxify controls with the RadAjaxManager when you have master and content pages:

http://www.telerik.com/help/aspnet-ajax/ajxajaxmasterpage.html

http://www.telerik.com/help/aspnet-ajax/ajxmasterpageupdateeverywhere.html

Also could you please send us a simple runnable application demonstrating the problem. You could open a formal support ticket from your Telerik account and attach a ZIP file there. In that way we can reproduce and pinpoint the problem you are facing on our side, understand the logic of your application and provide a solution.

Best wishes,
Radoslav
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
ScriptManager and StyleSheetManager
Asked by
Magnus Lund
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or