Response.Flush() & server-side table controls

M

Mark Rae

Hi,

I have a page with an asp:Table control on which I'm populating server-side.
The code which creates each row of the table can take up to two seconds to
execute (it's doing whois lookups around the world using TcpClient()), so
I'd like to output each row as it is created.

However, it looks as though the asp:Table is not rendered to the client
until it's complete i.e. the </table> is sent down - is this correct? If so,
is there another way to achieve what I'm looking for? I've seen a couple of
websites which suggest using in-line code (<%Response.Write(...)%>) i.e. the
old ASP classic way, but I'd rather avoid that if there's a better ASP.NET
way.

Any assistance gratefully received.

Best regards,

Mark Rae
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,120
Latest member
ShelaWalli
Top