Bookmark question RRS feed

  • Question

  • Hi All,

    I have an issue related to SL bookmarking. The application I work on, uses the SL navigation and one of the pages has a tree view control (summary view) and a data grid control (detail view).

    The frame is integrated with the browser and the requirement was to change the browser URL each time a selection is done in the tree view or in the data grid, but without refreshing the page.

    I used the HtmlPage.Window,NavigateToBookmark and in order to not refresh the page, I did cancel the event on frame navigation


    void OnNavigationFrameNavigating(object sender, NavigatingCancelEventArgs e)


           // some code


            if ( navigator.IsUpdateBrowserBookmark )


                  navigator.IsUpdateBrowserBookmark = false;

                  e.Cancel = true;



     It works just fine, but the Back and Forward buttons of the browser does not work properly because the navigation was canceled.

    Is there a way to get rid of those history entries the browser keeps to fix the Back/Forward browser issue? Or, is there a way to update

    the browser address without touching its history (ex. Javascript or something else).



    Tuesday, October 26, 2010 2:27 PM