Click here to Skip to main content
13,453,725 members (44,115 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am new to mvc3. i am working on a project in which i combine silver light 5 and mvc3. IN MVC3 I CREATE A MASTER PAGE NAMED "SITE.master" and add silver light control host object in it.I add a view Index.aspx and inherit it from sit.master. When i call Index.aspx it shows me silver light controls.

then i create a second page in silver light 5 named "second.xaml" and i added second silver light page object in mvc3's second master page named as "SECONDMASTER.master. I added a view named "About.aspx" and inherit it from secondmaster.master. And i called about.aspx from a button on index page. then it show me the about page but not the silverlight controls exist on the "second.xaml"

Please tell me how i show the "second.xaml"'s controls on SECONDMASTER.master or on "About.aspx"
I have two text boxes and 1 button on first silverlight page.
My "SECOND.XAML" page only has a label with "THIS IS ABOUT PAGE"

I added Object of "SECOND.xaml" in secondmaster.master.

About.aspx is inherited from secondmaster.master.

It show blank page when calling About.apx from button click event.
here is my About page calling method on button click event. It works and it call the About Page but not show the controls of silverlight.
Uri u = new Uri("http://localhost:56243/Home/About", UriKind.Absolute);
Posted 29-Jul-12 23:17pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01-2016 | 2.8.180318.3 | Last Updated 30 Jul 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100