Skip to main content

Microsoft Silverlight

OnLoad doesn't work on Firefox?RSS Feed

(0)

a.paranoid.android
a.parano...

Member

Member

4 points

7 Posts

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?

WynApse
WynApse

Star

Star

8361 points

342 Posts

Silverlight MVP

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
Silverlight MVP
http://www.wynapse.com
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities