Dynamic grid
-
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 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
-
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 」」」」」」」」」」」」」」」」」」」」」」」」」」」」
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#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 DataYeah, 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 」」」」」」」」」」」」」」」」」」」」」」」」」」」」