FF 2.0.0.14 + Silverlight 2b = white page
Last post 05-09-2008 4:23 AM by Montago. 10 replies.
Sort Posts:
05-05-2008 7:26 AM
FF 2.0.0.14 + Silverlight 2b = white page

Im wondering why i cant open my Silverlight app in Firefox 2.0.0.14

I've tried disabling all addons with no result.

 
I just get a white page.. ?
 

Montago

Joined on 08-21-2007
Posts 28
05-05-2008 9:33 AM
Re: FF 2.0.0.14 + Silverlight 2b = white page

Montago:
I just get a white page.. ?
 

I'm also using Firefox 2.0.0.14 too.. It's working fine in my machine...

Could you please try to visit this link? Let me know whether you can see something on that page or not..

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlsync

Joined on 09-16-2005
Singapore
Posts 2,021
05-05-2008 9:45 AM
Re: FF 2.0.0.14 + Silverlight 2b = white page

Does it work on IE on your machine?

Are you running flashblock?

Pete

If your question was answered, please mark the response as the answer.

Silverlight.net Moderator
MVP: Visual Developer - Client Application Development
POKE 53280,0 - My Blog

Psychlist1972

Joined on 10-12-2004
Maryland, USA
Posts 717
05-05-2008 9:52 AM
Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

your site works fine in Firefox

 

Psychilist1972
    It works in IE -- no flashblocker, no nothing... clean FF

Montago

Joined on 08-21-2007
Posts 28
05-05-2008 10:05 AM
Re: FF 2.0.0.14 + Silverlight 2b = white page

It's probably something to do with the size of the control, if you want it to fill the whole browser windows in firefox, add a height:100% to the styles on the <html> tag. To confirm if this is the issue, you can specify absolute height and width on the Silverlight control and see if it shows up.


Bill Reiss - Client App Dev MVP (What's an MVP?)
Silverlight and XNA Game Development Tutorials at http://www.bluerosegames.com/brg

Bill Reiss

Joined on 05-01-2007
Posts 470
05-05-2008 10:11 AM
Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

the HTML page already contains :

 

<style type="text/css">
    html, body {
        height: 100%; <-------------
        overflow: auto;
    }
    body {
        padding: 0;
        margin: 0;
    }
    #silverlightControlHost {
        height: 100%;
    }
    </style>

Montago

Joined on 08-21-2007
Posts 28
05-05-2008 10:33 AM
Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

Montago:
your site works fine in Firefox
 

Okay. then, That means you are able to view Silverlight content in your Firefox.

#1) What did you write in your project?  

#2) Have you set the startup page?  (Some people who download the sample from my blog said that they are not able to view the Silverlight page (with no error). I was wondering why.. then, I came to know that they didn't set the aspx page as a startup page. So, it run like http://localhost:3993/myproject that doesn't work. after setting startup page, it run like http://localhost:3993/myproject/TestPage.aspx and it works.) 

#3) Just right click on your page and check whether you can see "Silverlight Config" content menu or not.

#4) OR, you can show what you wrote in SL project...  

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlsync

Joined on 09-16-2005
Singapore
Posts 2,021
05-05-2008 1:33 PM
Re: Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

#1) What did you write in your project?

-- a lot of code !? ... the application has never shown in FireFox... im using custom controls, generic controls, a LINQ::SQL -based webservice..

 
#2) Have you set the startup page?  (Some people who download the sample from my blog said that they are not able to view the Silverlight page (with no error). I was wondering why.. then, I came to know that they didn't set the aspx page as a startup page. So, it run like http://localhost:3993/myproject that doesn't work. after setting startup page, it run like http://localhost:3993/myproject/TestPage.aspx and it works.) 

-- I believe the start-page is setup correctly, but i'll try messing around with it tomorrow... maybe it MUST be named default.aspx ?? -- im wondering why IE7 works, while FF doesn't... 

#3) Just right click on your page and check whether you can see "Silverlight Config" content menu or not.

-- I can't :-(

#4) OR, you can show what you wrote in SL project... 

-- the project is basically a "standard project" that we've built everything on... nothing that makes the project special... but, ill see what relevant code and setups i can post, that may be the reason

 
----------- 

Apparently FireFox is working as supposed to on my computer at work -- using the Visual Studio Test-Server... It also works when connecting to the IIS hosted version, that i linked to...

However, i cant open my page, from my FF at home !?.... grrr ... it really can't be a plugin problem - coz i've deactivated ALL OF THEM !!....

Montago

Joined on 08-21-2007
Posts 28
05-06-2008 2:51 AM
Re: Re: Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

i've tried changing the start-page to the .HTML and the two .ASPX files - no difference

Yesterday i got an error, saying that the silverlight.dll was missing, its now in my BIN folder -- no difference here either...
 

Montago

Joined on 08-21-2007
Posts 28
05-06-2008 10:34 PM
Re: Re: Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

Have you tried to debug in Firefox and see if it even hit your Application_Startup code?

You can right click your TestPage.html and set the default browser to Firefox. Then f5.

I'm using both IE and Firefox 2.x and never had problem.

By the way, did you by any chance change the your TestPage.html such as putting the silverlight control to a HTML table? If you did that, you have to set the height of the cell containing the siverlight control to 100% (or some large number) otherwise the table cell will collapsed in Firefox so you do not see the control.

 

 

 

 

 

 

 

Software Engineer
Aprimo, Inc

Please remember to mark the replies as answers if they answered your question

sladapter

Joined on 03-05-2008
Indiana, US
Posts 404
05-09-2008 4:23 AM
Re: Re: Re: Re: Re: FF 2.0.0.14 + Silverlight 2b = white page

 We've changed the project to use IIS instead of VS-Server

I am now getting the silverlight menu, when right clicking...

every height/width is 100% from HTML, BODY, FORM, DIV to OBJECT

 

testing some more...
 

Montago

Joined on 08-21-2007
Posts 28