Skip to main content
Home Forums General Silverlight Installation and Setup Silverlight, IE6 - doesnt appear until mouseover
4 replies. Latest Post by benjamin333 on December 22, 2008.
(0)
Solyad
Member
2 points
8 Posts
11-12-2008 5:28 AM |
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)
shamrat231
Contributor
4479 points
572 Posts
11-13-2008 3:30 AM |
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.
Right-click your Web Site and select Properties from the context menu.
Select the HTTP Headers tab and click "Enable Content Expiration".
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
3. Execute permissions must be Scripts Only.
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 MahmudSr. 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.
11-13-2008 4:37 AM |
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
Jonathan...
All-Star
23562 points
2,304 Posts
11-18-2008 1:27 AM |
Hi Solyad,
Would you please reference to the Blueprint ?
http://msdn.microsoft.com/en-us/architecture/dd179252.aspx
Best regards,
Jonathan
benjamin333
1 Posts
12-22-2008 5:18 AM |
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