Skip to main content

Microsoft Silverlight

Silverlight in Modal Dialog Accessing WCF serviceRSS Feed

(0)

stevensA
stevensA

Member

Member

0 points

4 Posts

Silverlight in Modal Dialog Accessing WCF service

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
labaulcha

Member

Member

4 points

2 Posts

Re: Silverlight in Modal Dialog Accessing WCF service

 I am having the same issue. Did you find a resolution? I am having trouble finding a solution anywhere on the net.

stevensA
stevensA

Member

Member

0 points

4 Posts

Re: Re: Silverlight in Modal Dialog Accessing WCF service

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
msalsbery

Contributor

Contributor

2066 points

379 Posts

Re: Silverlight in Modal Dialog Accessing WCF service

I'm curious since I'm totally blanking on this...

How do you run a Silverlight app in a modal dialog?

 

Mark Salsbery
Microsoft MVP - Visual C++

stevensA
stevensA

Member

Member

0 points

4 Posts

Re: Re: Silverlight in Modal Dialog Accessing WCF service

Use window.showModalDialog() to show a page with a Silverlight application in it.

msalsbery
msalsbery

Contributor

Contributor

2066 points

379 Posts

Re: Re: Silverlight in Modal Dialog Accessing WCF service

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

 

 

Mark Salsbery
Microsoft MVP - Visual C++

stevensA
stevensA

Member

Member

0 points

4 Posts

Re: Re: Re: Silverlight in Modal Dialog Accessing WCF service

No problem.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities