Page view counter
Silverlight, IE6 - doesnt appear until mouseover Subscribe to this thread
Last post 12-22-2008 5:18 AM by benjamin333. 4 replies.
Sort Posts:
11-12-2008 5:28 AM
Silverlight, IE6 - doesnt appear until mouseover

Hi

Im developing a range of small silverlight apps to deploy in a corporate environment.

IE6 is the most common browser, IE7 is on some xp machines and also on new machines with vista of course.

On some IE6 users machine, the silverlight doesnt appear until you move the mouse over the space in the browser.

We noticed first putting silverlight movies into MOSS but even trying the direct movie loading page outside MOSS it still happens (sometimes).

You load the page and its just blank white. Move the mouse over where the movie should be and it appears straightaway. All users testing have the silverlight 2 full release not a beta.

 Anyone have any thoughts or solutions on that one

 EDIT - I'm seeing it happen on IE7 now too. Its also not consistenly happening but mainly happens when having a silverlight movie/app loading inside MOSS/sharepoing

 You roll the mouse over the white space and the movie pops in a second or so (like the loading js only fires once there is a mouse over)

 

Solyad

Loading...
Joined on 11-03-2008
Posts 8
11-13-2008 3:30 AM
Re: Silverlight, IE6 - doesnt appear until mouseover

It has something to do with your IE6, IE7 setup

Please see if you have follow this procedure.

1. Adjust the Content Expiration Setting

You should adjust the content expiration setting to 1 minute. The following procedure outlines how to do this with IIS.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the HTTP Headers tab and click "Enable Content Expiration".

  3. Set the content to expire after 1 minute.

2. Register MIME Types and File Extensions

You must register some MIME types and file extensions so that the browser on the client's system can load the correct handler.

 You need to add the following types:

Extension

MIME Type

.xap

application/octet-stream

.xaml

application/xaml+xml

The .xap needs to have that mime type, in order to be able to be downloaded.

3. Execute permissions must be Scripts Only.

  1. Right-click  your Web Site and select Properties from the context menu.

  2. Select the Directory tab and change "Execute Permissions" to Script only.


Hope this helps. 

If this post was helpful then please 'Mark as Answer'

Sharker Khaleed Mahmud
Sr. Software Engineer
(MCP,MCTS,MCPD[web])

This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.

shamrat231

Loading...
Joined on 05-17-2007
Dhaka,Bangladesh
Posts 478
11-13-2008 4:37 AM
Re: Silverlight, IE6 - doesnt appear until mouseover

Hi Sharker

It turns out it has nothing to do with the above at all.

We spent about 3 hours yesterday going through everything and by chance happened upon a solution but can only make guesses as to the actual problem.

I work for a company whose intranet is based heavily on MOSS. So we are trying to build a few small apps to get started with silverlight.

The problem appears to be a quirk of MOSS (or perhaps more specifically it only happens in certain templates used in MOSS and maybe an issue with the templates). If you add a silverlight movie to a page it doesnt appear until mouseover. Once we started to get a handle on things we could consistently reproduce the problem regardless of the browser.

 Next we noticed if we had 2 movies on a page, the first would appear as normal. Or if we had a javascript based widget after the silverlight the movie would appear.

 Eventually even loading something very small such as a very small external css file in a module after the movie, triggers the movie to load as normal.

So our solution is to have the last module to load on the page to load a very small css. The module has the title bar switched off and is invisible to the users. Doing this loads all movies on all browsers. It appears to work consistently for all users.

Now, why this works is guess work. Whether its loading something external causes a small update to the DOM which is enough to trigger the movie to display, I don't know but it appears to work

 

Regards

John

 

Solyad

Loading...
Joined on 11-03-2008
Posts 8
11-18-2008 1:27 AM
Re: Silverlight, IE6 - doesnt appear until mouseover

Hi Solyad,

Would you please reference to the Blueprint ?

http://msdn.microsoft.com/en-us/architecture/dd179252.aspx

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Jonathan Shen – MSFT

Loading...
Joined on 06-18-2007
Posts 1,522
12-22-2008 5:18 AM
Re: Silverlight, IE6 - doesnt appear until mouseover

Hi John,

I know this is an old post but i had the same problem.

I noticed this problem only appeared when placing de silverlightholder div inside a table. When I placed the silverlightholder div outside the table it worked fine.

Did you placed the div inside a table?

Regards,

Benjamin

benjamin333

Loading...
Joined on 12-22-2008
Posts 1
Microsoft Communities