Click here to Skip to main content
15,888,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
Presently I have an application in Silverlight. This application has been added as a web part in Sharepoint Site as a webpart.The home page of Silverlight application is displayed on the Home page of Sharepoint Site's Web Part. Now How can I open the other pages of the Silverlight Application in New Window on click of Hyperlink link button present on Silverlight Application Home Page(In new window I want only Silverlight Application to get open, it should not get open in sharepoint site).
Posted
Updated 20-Jun-11 19:18pm
v3

1 solution

Your question is not very clear, but I believe you are asking how to click a hyperlink in a Silverlight webpart and have it display in a new browser window outside of SharePoint.

You can't. The XAP has been uploaded to SharePoint and instantiated from it and any navigation will be within that context. You may be able to do something similar to what you are asking by using a minimal masterpage that removes the SharePoint elements or perhaps by using the Client Object Model to open the pages using the Dialog Framework.
 
Share this answer
 
Comments
Dheeraj Jindal 21-Jun-11 1:58am    
Hi Mark,
Thank you for the solution. I would like to elaborate the scenario, so that you can get exactly what I want to achieve. As I stated above, in Silverlight Application's Home Page I have Data Grid, one column is Hyperlink button, & on click of that button you are navigated to other Page & data corresponding to that Hyperlink button's Data get displayed. Presently that Data is getting diaplayed in that Web Part Container only, even if I open it in a new window also(by passing Navigating URL path as the path of that it is going to have in Sharepoint site's URL) but what actually I want is that when it gets opened in a new window only Silverlight application should get opened from that point onwards. It should not get opened in the Same Container With other Left hand side & right Hand Side web parts which where present earlier.

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