Click here to Skip to main content
15,509,982 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I work with the busy indicator when the page is loaded?

I have multiple grids loading on the page.

This is giving me errors on the page load:

VB
busyIndicator.IsBusy = True
        'busyIndicator.BusyContent = "Fetching Data...";

        ThreadPool.QueueUserWorkItem()
        Thread.Sleep(3 * 1000)
        Dispatcher.BeginInvoke(InlineAssignHelper(busyIndicator.IsBusy, False))
Posted
Comments
Ian Shlasko 23-Aug-10 16:40pm    
You're calling QueueUserWorkItem, but you're not telling it what the Work Item is that it's supposed to queue. Don't you want to specify an argument to that function?

1 solution

The following web site helped me:

http://www.csharpcorner.com/UploadFile/dpatra/BusyIndicatorControlInSilverlight311222009134928PM/BusyIndicatorControlInSilverlight3.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900