Very slow GridView
-
Dear All, I am using a gridview in my asp.net application which is having an edit Item template as well as an Item template. Each of the template is having about 50 controls in which three are combo boxes which are populated from sqldatasource. I use this gridview for edit update delete operations. My problem is that , when I am having about 10 rows my gridview is almost freezing when doing edit update operations. I commented all the source codes thet I have in code behind class, but no use. Do the rendering take this much time ? Can anyone please give me some tips for speeding up my operations. I need to use this type of gridview in many places in my application. Please help.. Thanks in advance
Ranjith Stephen
-
Dear All, I am using a gridview in my asp.net application which is having an edit Item template as well as an Item template. Each of the template is having about 50 controls in which three are combo boxes which are populated from sqldatasource. I use this gridview for edit update delete operations. My problem is that , when I am having about 10 rows my gridview is almost freezing when doing edit update operations. I commented all the source codes thet I have in code behind class, but no use. Do the rendering take this much time ? Can anyone please give me some tips for speeding up my operations. I need to use this type of gridview in many places in my application. Please help.. Thanks in advance
Ranjith Stephen
aviod DB trips, i.e., very first time retrieve the data & store in dataset. user this only one dataset. as per the u r requirement, avoid the database trips.
Ramana
-
aviod DB trips, i.e., very first time retrieve the data & store in dataset. user this only one dataset. as per the u r requirement, avoid the database trips.
Ramana
Hii Thanx for the reply. The gridview is associated with an sqldatasource. As per your reply, is it making the gridview slow ??
Ranjith Stephen
-
Hii Thanx for the reply. The gridview is associated with an sqldatasource. As per your reply, is it making the gridview slow ??
Ranjith Stephen
use dataset instead of sqldatasource, defenetly i will imporve ur performance
Ramana
-
use dataset instead of sqldatasource, defenetly i will imporve ur performance
Ramana
OK.. thanks I will try that way.. And also I found another thing. I am showing the gridview in a div with scroll bars. When I turned the paging option on in gridview ,it helped the situation very much and I found the operations being faster. :) Anyways thank you very much for your precious opinion ..
Ranjith Stephen