Performance Enhancement - Validators/Calendar Extenders/Update Panels

Last post 09-29-2007 6:51 PM by eSeller_Feller. 2 replies.

Sort Posts:

  • Performance Enhancement - Validators/Calendar Extenders/Update Panels

    09-26-2007, 4:09 PM
    • Member
      point Member
    • jruddell
    • Member since 09-26-2007, 7:33 PM
    • Posts 1

    Hello,

    I am currently working on an insurance application.  The home page for this application combines a number of user controls all with a decent amount of validation (Masked Edit, Callout Extenders, Required Field, and Custom Validators) along with dozens of Calendar Extenders, all thrown into various Update Panels.  The problem that I am facing is the initial load time of the page. From when the last line of server code is executed, to the time the page finishes loading is over 10 seconds.  I know that this is a ridiculous UI design, and short of redoing the whole layout I am out of ideas. From what I understand the ten seconds is all consumed by client scripts. For example: the Page Validator Array, creating behavior for the Masked Edit Controls, etc.  As I said my next step is to redesign the page to load these separate user controls dynamically (as opposed to an accordion effect animation to show which ever ones the use wants to see). Does anyone have any ideas of ways to speed up that client side page load time?

     

  • Re: Performance Enhancement - Validators/Calendar Extenders/Update Panels

    09-27-2007, 8:22 AM
    Answer
    • Star
      8,978 point Star
    • dwhite
    • Member since 02-08-2007, 2:25 PM
    • Bristol, CT
    • Posts 1,422

    If you have a very large amount of controls on a page, you should really try to use simple controls if possible.  This doesn't just apply to AJAX codes, but also with standard server controls (e.g. DropDownList vs. SELECT, TextBox vs. INPUT).   In your case, I would try to limit the controls rendered at one time.  One approach is to use the AJAX tab control and then load UserControls on demand, see http://blogs.msdn.com/sburke/archive/2007/06/13/how-to-make-tab-control-panels-load-on-demand.aspx

    Hope this helps.

    -Damien

    Visoft, Inc - Home | Blogs

    Latest Blog Post: Silverlight DataBinding Bug
  • Re: Performance Enhancement - Validators/Calendar Extenders/Update Panels

    09-29-2007, 6:51 PM

    Have you checked out this? http://www.aspnitro.net/home.aspx. It did a great job on a similar problem for me.

Page 1 of 1 (3 items)