Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a tab , in that whenever the page is loading the tab shows loading icon similar like in web browser tabs.

What I have tried:

i searched but i didn't get the right answer please help me.
Posted
Updated 11-Mar-16 17:06pm
Comments
Gokulprasad05 11-Mar-16 22:53pm    
How Did U Expect Ur Output Send It In Image

1 solution

There are different ways to resolve your issue
- There is property for each tab page called 'UseWaitCursor' you can use that. set that property to true
- Create a BackgroundWorker for each of the tabs. In the Load event of the form, disable all tabs and call the RunWorkerAsync() method for each of the background workers. In each DoWork event handler, load the data required for the associated tab page from the database into a data table and set the Result property of the DoWorkEventArgs to the data table.
- may be using threading, check it[^]
 
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