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

Browser back button

1 Answer 131 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Nov 2008, 10:30 PM
I have a sample application running using the RadPage and RadFrameContainer controls. I have forward and back buttons on the main page that changes the pages in the container. This is similar to the example in the help files. But I can't find anything on connecting the RadPage Navigation to the browser forward and back buttons. The RadControls for Silverlight movie says the Navigation framework works with the browser buttons.

I am using RadControls_for_Silverlight_2008_3_1105_Trial.
I am using VB.

Thanks


1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 13 Nov 2008, 09:42 AM
Hi Michael,

In order to use the browser history buttons, you need to host your Silverlight application in Ajax Web Site. we are using the Ajax framework to enable the browser history integration.

Once you have the environment you need to perform the following 2 steps:
1.Set the EnableHistory to true to the ScriptManager control:

 

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableHistory=true></asp:ScriptManager>

 

2. In the constructor of your application set the Navigationservice to use the browser history:
        public App()  
        {  
            this.Startup += this.Application_Startup;  
            this.Exit += this.Application_Exit;  
            this.UnhandledException += this.Application_UnhandledException;  
            NavigationService.UseBrowserHistory = true;  
            InitializeComponent();  
        } 


Please let us know if you have any other questions.

All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Navigation
Asked by
Michael
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or