DCSIMG
ASP.NET,UI - Itai Goldstein

Browse by Tags

All Tags » ASP.NET » UI (RSS)

Improve your ASP.NET Website User Experience: Flush Down your partial Response

There are times when your website page needs to do some heavy work on the server side and you don’t want your user to wait till the work is complete to get a response. In these cases you can use the Response.Write & Response.Flush methods, and here is a short example (on the HTML source side): <% Response . Write( "1st response..." ); %> <% Response . Flush(); %> <% System . Threading . Thread . Sleep( 2000 ); %> <% Response . Write( "2nd response..."...
Posted by itai | 10 comment(s)