Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1898462
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:46:05+00:00 2026-05-17T06:46:05+00:00

I’m trying to avoid the default Silverlight loading screen displaying before my applet and

  • 0

I’m trying to avoid the default Silverlight loading screen displaying before my applet and was trying to show a blank coloured background, the same colour as my applet’s. The aim is to avoid the jarring white and make it look like it’s all part of one app drawing.

I’ve discovered SplashScreenSource but I’m not sure how to hook that up to just show a single colour background instead of the loading screen. Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:46:05+00:00Added an answer on May 17, 2026 at 6:46 am

    Add new XAML file to ASP.NET website, in which Silverlight will be shown.
    Replace content of XAML with this:

    <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <StackPanel VerticalAlignment="Center">
    <Grid>
    <Rectangle x:Name="progressBarBackground" Fill="White" Stroke="Black"
    StrokeThickness="1" Height="30" Width="200"></Rectangle>
    <Rectangle x:Name="progressBar" Fill="Yellow" Height="28" Width="0">
    </Rectangle>
    </Grid>
    <TextBlock x:Name="progressText" HorizontalAlignment="Center"
    Text="0% downloaded ..."></TextBlock>
    </StackPanel>
    </Grid>   
    

    Next, you need to add a JavaScript function to your HTML entry page or ASP.NET.

    <script type="text/javascript">
    function onSourceDownloadProgressChanged(sender, eventArgs)
    {
    sender.findName("progressText").Text =
    Math.round((eventArgs.progress * 100)) + "% downloaded ...";
    sender.findName("progressBar").Width =
    eventArgs.progress * sender.findName("progressBarBackground").Width;
    }
    </script>   
    

    To use this splash screen, you need to add the splashscreensource parameter to
    identify your XAML splash screen and the onsourcedownloadprogresschanged parameter to
    hook up your JavaScript event handler. If you want to react when the download is finished, you
    can hook up a different JavaScript event handler using the onsourcedownloadcomplete
    parameter:

    <object data="data:application/x-silverlight," type="application/x-silverlight-2"
    width="100%" height="100%">
    <param name="source" value="ClientBin/SplashScreen.xap"/>
    <param name="onerror" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="splashscreensource" value="SplashScreen.xaml" />
    <param name="onsourcedownloadprogresschanged"
    value="onSourceDownloadProgressChanged" />
    ...
    </object>   
    

    I hope this will help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.