Click here to Skip to main content
16,020,666 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

Case 1:

I have a pure Silver light 3.0 navigation application that consists a MainPage.xaml and Navigation Pages, on MainPage Left Navigation (Tree View) and a Content Frame to its right adjacent are there, The functionality of this is to show the corresponding silver light navigation page in the Content Frame on selection of Left Navigation (Tree View) nodes. all the functionality is handled in ".xaml.cs" files.

It is good running as Silver light navigation Application, and now I'm trying to integrate the whole functionality into a ASP.Net Website. My website has a Master Page and in the master page a Title Header is there and a Content Place Holder underneath Title Header. On clicking a button in the default.aspx, it should redirect to the Silver Light Navigation application and Silver light navigation app should be displayed in the Content Place Holder of Master Page.


Case 2:

In the same Silverlight 3.0 navigation application can I put a Master Page in the SilverlightApplication1.Web and integrate the Silverlight Navigation into a new aspx page of SilverlightApplication1.Web?

For the above cases, I have googled all over and didn't found any stuff at clarity.

Can anybody please explain me a good approach for either of the cases, so that I can come out of this.

Thanks & Regards
Sri
Posted
Comments
Abhinav S 10-Nov-10 8:52am    
Just a side note, why would you want to integrate your Silverlight application into an ASP.Net page?

1 solution

Hi Sri, I'm afraid your query is not clear enough.

For Case 1 you could simply redirect from default.aspx to an ASPX page with no master page that contains your Silverlight application. Your Silverlight can have a button or link that gets you back to the default.aspx if required.

For Case 2. Yes, you can put your Silverlight application into a new ASPX page.

You may want to re-read on the implementation of Silverlight object tag (or ASP:Silverlight tag) as you seem to don't have a good understanding on how a Siverlight application is displayed on a web page.

PS: A Silverlight application does not need to be hosted in an ASPX page (works with HTML), and it can also work with JavaScript or be controlled via JavaScript on a page.
 
Share this answer
 
Comments
Sri9797 11-Nov-10 7:02am    
Thanks Edbert, ur answer gave me a idea. And I got the solution.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900