Navigation with dynamically downloaded pages

Michael

I am using the RadPage and RadFrameContainer to navigate between RadPages. The browser forward and back buttons work fine for all the RadPages that are contained in the main startup xap file. However, when I dynamically download a RadPage that is in a different xap file the browser forward and back buttons cannot load the page. I can load the page using a button click event because then I execute a web client to load the page like this:

Michael

I tried this code and it displays the downloaded RadPage but the browser forward and back buttons still do not work. I may have messed something up because I had to translate from C# to VB.

My RadPage is in a separate XAP file in the client bin along with the main application XAP file. Is this sample code for a RadPage in a XAP file or for a RadPage in a Resource?

Here are the navigation strings.
This is the main page in the main xap file (Navigate.xap):
http://localhost:1808/NavigateTestPage.aspx#tkagnav=Navigate.MainPage
This works fine.

This is the downloaded page in the second xap file (Load.xap):
http://localhost:1808/NavigateTestPage.aspx#tkagnav=Load.Page
This works fine.

I hit the browser back button:
http://localhost:1808/NavigateTestPage.aspx#tkagnav=Navigate.MainPage
This works fine.

Then I hit the browser forward button:
http://localhost:1808/NavigateTestPage.aspx#tkagnav=Load.Page
But this page doesn't display. It stays on the main page. It is like the Load.Page is not placed in the cache.

Thanks

Bobi

Thank you for reporting this issue. For now Back and Forward functionality in the RadNavigation framework
can be used only if you have navigation between pages that are in the same XAP file. It is possible to navigate to page from a different XAP, however you will have to implement your own custom logic in order to have Back/Forward functionality between pages from different XAP files.

We will add multiple XAP support to RadNavigation as soon as possible.

To implement your own back/forward functionality you have to navigate between the pages using page instants , not page string representation. For example you could try this:
RadPage page = assemblyPart.CreateInstance("SilverlightApplication1.MasterPage1") as RadPage;
this.service.Navigate(page);

Best wishes,
Boryana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Miroslav

Unfortunately the feature is not implemented yet because of a trend to phase out the RadNavigation framework in favor of the MS navigation framework.

In Silverlight 3, the built-in navigation can offer tight tool integration like with Blend 3 (Sketch Flow and its player for example). Unfortunately we would not be able to match the same tool integration as even Blend 3 is not very extensible. Also we expect that the built-in navigation will evolve with new features that we will be unable to support.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.