[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Using a seperate thread to load a grid

I have a form which loads several hundred records, what I want to do is have a seperate thread which loads the data, so the main form shows then the data comes when it is ready. Rather than wait for the whoe thing. What is the best method of doing thisd, the backgroundworker component or something else?
1 Solution
I think backgroundworker is the best practice, but you can also add a delay (using a time) to load all the information after the form opens.
you can create a thread in code using   System.Threading.Thread and have it fired at start up or on the push of a button.

A great idea to not make the user wait but if if your only talking about a couple hundred records i would be more concerned on what is delaying their load.  A couple of hundred should load in a heart beat.


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now