Solved

ASP.NET Tabs Performance

Posted on 2013-01-25
4
382 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
  • 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 35

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
XML to SQL Table using c# 5 44
Open form in the top right hand corner of screen 5 19
Create XML 5 31
Jquery autocomplete 10 21
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now