A number of people left comments both here and at Channel 9 in response to my Pre-Loader / Splash Page post and show. Apparently people frequently run into an issue where when using a pre-loader, if the main app loads too quickly, neither app ends up loading correctly and the user is left with a blank white rectangle. Well, I appear to have a solution for you all to try. This is one of those things that is notoriously difficult to test so I’m going to ask that those of you that have run into this issue help me test it.
Solution The basics of the solution are to have a JavaScript function execute when the host page loads. Have that method wait a specified length of time (1/2 second seems to work) and then check to see if either the pre-loader or the main Silverlight application are loaded. If neither one is true then you are probably in the state people were describing. In that case you can use another JavaScript function to manually load the main Silverlight application. Read more: RIA Thoughts
Solution The basics of the solution are to have a JavaScript function execute when the host page loads. Have that method wait a specified length of time (1/2 second seems to work) and then check to see if either the pre-loader or the main Silverlight application are loaded. If neither one is true then you are probably in the state people were describing. In that case you can use another JavaScript function to manually load the main Silverlight application. Read more: RIA Thoughts