문제

I've found some strange behaviour of firefox 3.6 - when I call HtmlPage.Window.Confirm() method from my silverlight 3 app it crashes the browser. This behaviour, I think, begins from the version when plugin container became separate process. Maybe it is cross-thread issue of firefox.

Did anybody face this problem?

Thanks a lot.

도움이 되었습니까?

해결책

Yes I had the same problem with Firefox but you should be able to get around it by using Silverlight's MessageBox command with the optional MessageBoxButton.OKCancel flag.

MessageBox.Show("Are you sure?", "Warning", MessageBoxButton.OKCancel);

다른 팁

Setting param windowless to true in most cases helps to fix this problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top