Page view counter
OnLoad doesn't work on Firefox?
Last post 05-14-2007 12:43 AM by WynApse. 1 replies.
Sort Posts:
05-12-2007 9:12 PM
OnLoad doesn't work on Firefox?

Hello,

I have been working on a Silverlight control that works in IE, however, it doesn't work in Firefox.  I have been debugging using the infamous "alert" statements available within JavaScript.  I have some inline XAML that simply uses a "Canvas" element.  The Canvas element has a "Loaded" event handler assigned.  Interestingly, the Loaded event get's called within IE just fine, however, not when I attempt to run it from Firefox?

 Any ideas?

a.paranoid.android

Loading...
Joined on 06-23-2006
Posts 7
05-14-2007 12:43 AM
Re: OnLoad doesn't work on Firefox?

Hi...

 I've been fighting a combination of things that I believe are related to this.

 I've had multiple reports of my GlyphMap utility not working in Firefox after my Beta 1 conversion: http://www.wynapse.com/Silverlight/Silverlight_GlyphMap_Utility.aspx

I've actually been able to make it NOT work on IE6 as well, but not in any repeatable form. I have posts here:http://silverlight.net/forums/t/991.aspx and here:http://silverlight.net/forums/t/944.aspx that I haven't gotten any response on.

I've been sick this weekend and haven't had a chance to try this, but I had suggested that I thought I could add a hyperlink to 'start' the utility running and not have a "Loaded=" on my main canvas and it would work.

Well... it still doesn't answer my questions I have about the onLoad event in the control creation, but I think it's pretty good info about the problem with Firefox. This is the exact page from my site, except I pulled it all out separate as a stand-alone html file: http://www.wynapse.com/Silverlight/GlyphMapTest1/GlyphMap.html

The outer frame gets built, you push 'Start' and it works... IE7 & Firefox (at least for me).

The difference? There's no "Loaded-" on this one and there is on the first link above.

I'm open to any and all suggestions... if this was a problem in the February CTP, nobody mentioned it.

-Dave

Stay in the 'Light
MVP: Visual Developer - Client Application Development
http://www.wynapse.com
Twitter SLNews | Join me @ SilverlightCream | SL Web Articles | My Articles | My Tutorials | My Tooltips | SilverlightCream

WynApse

Loading...
Joined on 05-13-2004
Posts 341
Microsoft Communities