loading girdview in tabs is very slow

Last post 11-12-2009 1:04 AM by Vince Xu - MSFT. 3 replies.

Sort Posts:

  • loading girdview in tabs is very slow

    11-10-2009, 11:07 AM
    • Participant
      1,399 point Participant
    • jagjot
    • Member since 10-19-2006, 9:02 AM
    • United Kingdom
    • Posts 746

    Folks,

    I have 6 tabs in my tabcontainer and every gridview in each tab is under updatepanel. and its loaded on demand.

    still its very slow. any great ideas?

    Jagjot Singh
    MCP, CCNA
  • Re: loading girdview in tabs is very slow

    11-10-2009, 1:09 PM
    • Member
      362 point Member
    • sridhar.a
    • Member since 02-27-2007, 10:08 AM
    • Posts 78

    Hi, I too agree as I experienced the same.

                           # Try replacing AJAX tabs with JQuery Tabs [http://jqueryui.com/themeroller/]

                           # Try binding data in the Gridview using IDatareader than using datasets

                            # try to use Stored procedures rather than Dynamic SQL

         with the following changes you can find some performance gain

         Sridhar.a

    www.ResumeforIT.com,
    Online Resume generator for IT preofessionals both fresher and Experienced
  • Re: loading girdview in tabs is very slow

    11-11-2009, 5:59 AM
    • Participant
      1,399 point Participant
    • jagjot
    • Member since 10-19-2006, 9:02 AM
    • United Kingdom
    • Posts 746

    can you post any code examples.? will be great help.

    Thanks in advance. 

    Jagjot Singh
    MCP, CCNA
  • Re: loading girdview in tabs is very slow

    11-12-2009, 1:04 AM
    Answer

    Hi,

    Each tab contains a GridView will cause 6 GridView loaded in once time. That's too much data need to render and load, so the speed is slow.

    You can load only one gridview in the default tab, other gridview can be loaded when the related tab panel is selected. Meanwhile, please put the updatepanel into tab panel to wrap the gridview. 6 tab panel have 6 updatepanel with 6 gridview.  Every tab panel selecting will cause one of gridview update that sound more efficient.


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)