Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Launch Modal Dialog From Silverlight

$
0
0

Hi All,

I'm trying to launch a modal dialog from a Silverlight application which resides inside a CRM form. So far, I have been able to achieve this in IE and FF but in Chrome, the Silverlight application crashes before the modal window pops up.

Could someone please let me know how to achieve this in Chrome?

 

From my Silverlight application, I call the following JS function to launch the popup.

function OpenModalDialog(url) {
   return showModalDialog(url, "", "dialogHeight: 700px;");
}

The following code is executed from the UI thread and causes Silverlight to crash in Chrome.

 var vals = (string)HtmlPage.Window.Invoke("OpenModalDialog", url);

 

Thanks in Advance,

Lasa.

 


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>