mortb wrote:
Hi!
I have a really large and complex table.
The table may consist of several thousand rows.
When I render the table with asp.net web controls the control won't stream
out to the browser before the appending of rows is completed.
The table is created in a custom web control. I know I can use
Response.Write to directly output to the client, but I'd like to know if
there is another way.
No, there is no other way. When you are using server controls, none of
the final html code exist before all server controls are added to the page.
You can use Response.Write and Response.Flush to create output and flush
it to the browser. Don't make a flush after each row, though. Then you
would be sending each row in a separate TCP/IP package, which would
produce a huge amount of overhead.
Also consider what Patrice said about paging and filtering. The user
might not even want what you are trying to do now.
--
Göran Andersson
_____
http://www.guffa.com