Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Dynamic grid

Dynamic grid

Scheduled Pinned Locked Moved ASP.NET
csharpcsshelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    C Coudou
    wrote on last edited by
    #1

    Hello experts, I've tried to create a multiple dynamic gridview during page load. Because I've create about 20 gridview in one page. I've loop it and put it on a placeholder and bind it. There are only 2 columns per grid. The grid height is only 90px,so its small. The data per grid is only 50-100 per rows. I also added an OnRowCreated and OnRowDataBound event per grid. But when I run my project, it takes about 1-2 minutes to load all the grid. If I will remove the OnRowCreated and OnRowDataBound. Very fast. Is there a solution on how to make the page load including the 2 event as fast as 5-10 seconds? I use the Update Panel. Any help would be greatly appreciated. Thanks!

    C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

    A 1 Reply Last reply
    0
    • C C Coudou

      Hello experts, I've tried to create a multiple dynamic gridview during page load. Because I've create about 20 gridview in one page. I've loop it and put it on a placeholder and bind it. There are only 2 columns per grid. The grid height is only 90px,so its small. The data per grid is only 50-100 per rows. I also added an OnRowCreated and OnRowDataBound event per grid. But when I run my project, it takes about 1-2 minutes to load all the grid. If I will remove the OnRowCreated and OnRowDataBound. Very fast. Is there a solution on how to make the page load including the 2 event as fast as 5-10 seconds? I use the Update Panel. Any help would be greatly appreciated. Thanks!

      C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

      A Offline
      A Offline
      Anurag Gandhi
      wrote on last edited by
      #2

      C#Coudou wrote:

      Because I've create about 20 gridview in one page.

      Really not a good design. GrdiView is slow and heavy. Try to adjust with Repeater Control or ListView Control. You will see the performance boost, then.

      Anurag Gandhi.
      http://www.gandhisoft.com
      Life is a computer program and every one is the programmer of his own life.
      My latest article: Group GridView Data

      C 1 Reply Last reply
      0
      • A Anurag Gandhi

        C#Coudou wrote:

        Because I've create about 20 gridview in one page.

        Really not a good design. GrdiView is slow and heavy. Try to adjust with Repeater Control or ListView Control. You will see the performance boost, then.

        Anurag Gandhi.
        http://www.gandhisoft.com
        Life is a computer program and every one is the programmer of his own life.
        My latest article: Group GridView Data

        C Offline
        C Offline
        C Coudou
        wrote on last edited by
        #3

        Yeah, I know that doing a multiple gridview is not a good design,it's heavy. I used gridview because I want to update the 2nd column by clicking on it and I have a link on the 1st column. Showing/updating multiple column in listview is not possible.

        C# コードMicrosoft End User 2000-2008 「「「「「「「「「「「「「「「「「「「「「「「「「「「「 The best things in life are free 」」」」」」」」」」」」」」」」」」」」」」」」」」」」

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups