Skip to main content
Home Forums Silverlight Programming Accessing Web Services with Silverlight Silverlight in Modal Dialog Accessing WCF service
6 replies. Latest Post by stevensA on November 7, 2009.
(0)
stevensA
Member
0 points
4 Posts
07-08-2009 4:32 AM |
Sorry if this question has been asked before, but searching for "silverlight in modal dialog" returns loads of results about showing modal dialogs from within Silverlight, but nothing relating to my actual question. I have a Silverlight application which performs a lot of communication with a WCF service. I need to run this application in a Modal dialog, but whenever I do, I get a series of warnings saying "This page has an unspecified potential security risk. Would you like to continue?". This happens even with the site added to the "Trusted Sites" list in Internet Explorer. Has anyone else come across this issue? Is there any kind of workaround available? Thanks, Andrew
labaulcha
4 points
2 Posts
11-05-2009 2:21 AM |
I am having the same issue. Did you find a resolution? I am having trouble finding a solution anywhere on the net.
11-05-2009 3:16 AM |
Unfortunately, no. The warnings will not appear if you add the website to the "Local Intranet" zone in IE, but this is not a practical workaround.
msalsbery
Participant
1942 points
358 Posts
11-05-2009 5:38 PM |
I'm curious since I'm totally blanking on this...
How do you run a Silverlight app in a modal dialog?
11-06-2009 4:15 AM |
Use window.showModalDialog() to show a page with a Silverlight application in it.
11-06-2009 4:13 PM |
stevensA:Use window.showModalDialog() to show a page with a Silverlight application in it.
Thank you.
I come from a Win32/WPF background, not a web development background so I wasn't sure what you were referring to.
Mark
11-07-2009 5:37 AM |
No problem.