Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Downloading xaml
1 replies. Latest Post by swildermuth on December 28, 2007.
(0)
Galo
Member
39 points
72 Posts
12-28-2007 8:17 AM |
Hi all,
I'm working on a Silverlight project that is nearly finished, i use an Audio and Video player on the same page, but without any "Downloader" object it takes ages before the site loads, so what i want to do is to "preload" the root xaml page but i dont know if that is posible, iow, if i run the xaml page through a Downloader object, does it download all the content that is connected i.e. "used" through that page ?
thanks a mil
-Galo
swildermuth
Star
8320 points
1,546 Posts
12-28-2007 6:13 PM |
I think you want to do the opposite. Don't preload the XAML but instead use a small XAML to display a "Loading..." page. Then use the downloader to load the real XAML and inject it into the small canvas once you get everything downloaded. Its the perception of responsiveness, its not really any faster but the user will know that its loading.