I am trying to execute a piece of javascript in my silverlight application.
Pretty simple example that I have created… Just a single button that tries to execute
this line of code…
private void Button_Click(object sender, RoutedEventArgs e)
{
HtmlPage.Window.Eval("alert('hi');");
}
The alert window does come up but it freezes firefox, I have to force quit firefox it never comes back to life…. has anyone ran into this??
I thought maybe a firefox plugin was causing the problem but I have disabled them all with the same results.
The only way I can get it work is if I go to about:config in firefox and set dom.ipc.plugins.enabled.npctrl.dll to false
Any ideas???
Well I think I partially figured this out…
I added this parameter to my Silverlight hosting page…
So the whole
<div>