Solved

ASP.NET Tabs Performance

Posted on 2013-01-25
4
422 Views
Last Modified: 2013-01-25
I have a single ASPX page that contains a set of tabs which are ajax enabled.  As a user selects tabs the controls within that tab are dynamically loaded.  Will I be creating any visual performance issues by dynamically loading each tab as the user needs it?  Or should I be breaking out each tab to it's own page?

Can I achieve smooth and rapid performance if I use multiple tabbed pages which each have controls loaded on demand?
0
Comment
Question by:Phil5780
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:tipsybroom
ID: 38820737
you could make overlay screen displaying "loading..." while your controls are loading
0
 

Author Comment

by:Phil5780
ID: 38820750
Will having 10 tabs of content in 1 page perform really slowly compared to that same content divided across 10 pages?
0
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 38820824
It depends on how long does it take to load each tab page (10) vs have all the content in one page.

For the amount of tabs I prefer the first option: "loading each tab page" because:
- It loads only what the client needs. (vs. all tab contents even if the client does not need it)
- It takes less time to load 1/10 of the information. In one my projects one of the tabs take 3 seconds to load but the others 7 tab take around 1 second, thus my max time is 3 seconds vs 10 seconds if I have to load the whole lot.
- It reduces the page complexity. Your code is spread among multiple sub pages.
Cons:
- Page state can be tricky as a every tab is now an independent page.
- Post back handling is done in every tab page and needs to be coordinated with the main page.
0
 

Author Closing Comment

by:Phil5780
ID: 38820846
I'll go with my hybrid multi-page design.  A single page will have 10 tabs but use ajax to only load the controls which are requested by the user.

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question