Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a silver-light(5) application which has tabs internal to the application and not tabs in the browser. Consider that application is already open in a browser with 2 tabs inside it. When the user tries to open application in new window/tab it should be shown in the previously opened browser as a new tab(internal to application and not browser).

If the application URL is pasted in the same browser tab, the pasted URL should work.


I used SHDocVW.ShellWindows in the aspx page that hosts the silverlight project to find the internet explorers already open and their Location URL's.

SHDocVW.ShellWindows allWindows = new SHDocVW.ShellWindows();

while(allWindows.GetEnumerator())
{
check if it is IE and also get the URL
and pass that value to silverlight app via initparams
}

this works good when tested in local but doesnt work as expected after deployment.

The deployment server is Windows Server 2008 and has IIS 7(it doesnt have a IIS Admin Service and hence seting Allow Service to interact with desktop is not an option) in it.

Please help us in solving the issue.

Please let us know if there is any possibility other than ShellWindows ?

Regards,
Pallavi
Posted

1 solution

Have a look here: Can silverlight detect or communicate across browser instances?[^]. It might help you to solve the problem.

It might be interesting too:
Out-of-Browser Support[^]
 
Share this answer
 

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