Thursday, September 9, 2010

JournalOwnership

 

As of Silverlight 3.0, there is a Navigation API. It is located in System.Windows.Controls.Navigation.

As explained in this blog there is a Frame Container which has several options.

One of these options is JournalOwnership. It is documented in MSDN here.

JournalOwnership has influence on the behavior of the browser history.

If the JournalOwnership is set to UsesParentJournal, navigation will be visible in the browser history:

clip_image002

clip_image004

This enables the end user to navigate through the Silverlight application using the browser history.

If you do not want to use this feature, for instance in a banking application, the JournalOwnership should be set to OwnsJournal.

clip_image006

After navigating through the menu items, the browser history remains empty.