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

ASP.NET Tabs Performance

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
Phil5780
Asked:
Phil5780
  • 2
1 Solution
 
tipsybroomCommented:
you could make overlay screen displaying "loading..." while your controls are loading
0
 
Phil5780Author Commented:
Will having 10 tabs of content in 1 page perform really slowly compared to that same content divided across 10 pages?
0
 
Miguel OzSoftware EngineerCommented:
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
 
Phil5780Author Commented:
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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

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