Asalam O ALikum
hi h r u all?
Actually i am a beginner to silverlight and i have some problems, plz help me out.
I have made a silverlight application in visual studio 2008 and want to made master page and its child page in which my code of page.xaml should embed.
Actually i made a tabcontrol in silverlight and want to put this tabcontrol in masterpage soo my all child pages have same tabcontrol But i stuck at how to put tabcontrol(code is in page.xaml) in master page and also how my child page can use that master page.
plz plz plz help me out
my email id is [email protected]
waiting for urs replies........
rajesh p vPosted Jun 26, 2009, 3:44 PM
I'm sorry to say that silverlight 2 doesnot have a masterpage.
Generally we use to have a canvas or any layout say grid in the place were we need a change in control(some thing similar to a contentPlaceholder in asp.net masterpages:)). As root tag of every page in silverlight is a user control, we can add a particular page as a user control into this so called place holder(any layout) .
Silverlight 3 has navigstion frame work. there is frame similar to WPF. and root tags called Page. this can be loaded in this frame by specifying the Uri.
I hope this can help you. :)
Please let me know if this helps
Happy coding
Rajesh