views:

157

answers:

1

How to use a common TabControl in Silverlight 4 Navigation Application? For example, It would be kept at same position in all views like here the Manu bar is kept which has Questions,Tags,Users etc. as headers.

When the user clicks on any TabItem I want to load the respective page in the frame provided by default. I also want the back/forward button of the browser to work.

+1  A: 

I know you're asking to do this with the TabControl, but I don't think that's what you really want. You could create a "menu bar" consisting of HyperlinkButtons. Use a Frame as you would a ContentPlaceHolder in ASP.NET, where everything outside of the Frame is like a MasterPage.

Check out the Navigation Overview on MSDN.

HTH,

Charles

Charles