Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

DataGrid in DataList in UpdatePanel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Theo - 08 Apr 2008 18:58 GMT
I've got a bit of an issue that I'm trying to work out.

I have the page structure described in the subject, and performance
seems to have taken a nose dive, from perfectly acceptable at 8
DataList rows to Hideously Bad at 150 (the difference between the dev/
test system and the production system).

I'm looking for ways to improve performance.  So far, I've made a big
difference by getting the ViewState and ControlState out of the page
and into the session, but I still need to do more.

Each row of the DataList has a set of bound controls, including a
DataGrid made hideable with a CollapsiblePanelExtender, the DataGrids
have 7 bound columns (1 checkbox, 5 text fields bound to literals, and
1 column with bound imagebuttons).

Currently, when the results aren't filtered (the default), the users
on production are seeing warnings about a slow script when the
UpdatePanel containing the DataList is updated.  I suspect it's the
client-side portion of the AJAX process, busy handling about 1MB of
data that's just come down the wire.

I really need help on this one.

- Theo
bruce barker - 08 Apr 2008 20:30 GMT
you should only render the grids when displayed. use ajax to to get the html
when opened. also IE is pretty slow renderinfg tables, so 150 rows is bad.
change to div's and css. you should also avoid rerending the whole page (even
with a update panel which rerenders all its content and is slower than a
postback).

-- bruce (sqlwork.com)

> I've got a bit of an issue that I'm trying to work out.
>
[quoted text clipped - 21 lines]
>
> - Theo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.