My web application's main page is having 6 tabs and they are full with controls. So it is very slow in opening. What are the way to avoid loading the contents of all tabs and just loading a default one?
Thanks in advance.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
omkar mhaiskarPosted Apr 28, 2011, 2:16 AM
As per durgaprasad said. you just put ajax tab TabContainer and use usercontrols in tabcontainer.
You could fire an event from your first user control so that the page can handle this event and tell the other usercontrol to databind.
Here is a example
Shalini JunejaPosted Apr 27, 2011, 11:48 PM
http://docs.jquery.com/UI/Tabs
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
Hope this will help you.
Sam HobbsPosted Apr 27, 2011, 9:13 PM
So I might be wrong and I don't want to give an answer if you are going to say I am wrong as if I should know what you need. You don't tell us much.
Perhaps you need to use a BackgroundWorker to do some of the work for each of the tabs or some of the tabs or whatever. It might be a little complicated and advanced but without knowing much about your application, a BackgroundWorker is the best I can think of.
durgaprasad rangulaPosted Apr 27, 2011, 10:46 AM
Create UserControl for every tab content and load UserControls dynamically using tab click event.