Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 Problem rendering page with large datagrid

Author  Topic 

SamC
White Water Yakist

3467 Posts

Posted - 2005-06-06 : 12:42:14
I've got an ASP page that is all static HTML except the datagrid in the content area.

When the number of rows becomes large, browsers seem to lose the top half of the page data, beginning with the DOCTYPE which makes a pretty poorly rendered page.

Could IIS be choking on the amount of data rendered? Any ideas?

Sam

Kristen
Test

22859 Posts

Posted - 2005-06-06 : 13:12:23
I'd do a VIEW SOURCE and poke it through an HTML validator to see if something unexpected has got mucked up in the middle of the page

http://validator.w3.org/

Kristen
Go to Top of Page

SamC
White Water Yakist

3467 Posts

Posted - 2005-06-06 : 13:39:03
I do that all the time. It's valid source. Problem is, the top half of the source isn't being sent to the browser.

I think it's an IIS buffering problem...
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2005-06-06 : 13:51:45
Bizarre, OK I'm out of useful ideas, sorry.
Go to Top of Page

SamC
White Water Yakist

3467 Posts

Posted - 2005-06-06 : 14:30:55
[url]http://www.itnewsgroups.net/group/microsoft.public.inetserver.asp.general/topic3289.aspx[/url]

I took the suggestion and modified the datagrid loop to Response.Flush every 1000 rows.

Works great.

Sam
Go to Top of Page
   

- Advertisement -