Solved

ASP.NET Tabs Performance

Posted on 2013-01-25
4
429 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

691 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