Browser back button

2 posts, 0 answers
  1. Michael
    Michael avatar
    29 posts
    Member since:
    Sep 2008

    Posted 12 Nov 2008 Link to this post

    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.


  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 13 Nov 2008 Link to this post

    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;  

    Please let us know if you have any other questions.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top