Skip to main content

Microsoft Silverlight

Answered Question Downloading xamlRSS Feed

(0)

Galo
Galo

Member

Member

39 points

72 Posts

Downloading xaml

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

Foo Bar this

swildermuth
swildermuth

Star

Star

8320 points

1,546 Posts

Answered Question

Re: Downloading xaml

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.

(If this has answered your question, "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 3 Workshop
Miami, FL: Oct 12-14th
Portlant, OR: Dec 2-4th
Atlanta, GA: Dec 7-9th
http://silverlight-tour.com
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities