Link to home
Start Free TrialLog in
Avatar of alain123
alain123

asked on

Response.flush not working

please anybody know why Response.flush is not working? the page does not get refreshed with the new information..

Button1_click(){
          placeholder.Controls.Clear();

               string HTML = "";
               HTML = "<table><tr><td>test</td></tr></table>";
         
               Control objControl = this.Page.ParseControl(HTML);
               this.placeholder.Controls.Add(objControl);
               response.write("test2");

               //Response.Clear();
               Response.Buffer= true;
               Response.Flush();
               this.placeholder.Visible = true;
               Thread.Sleep(15000);
Avatar of alain123
alain123

ASKER

ASKER CERTIFIED SOLUTION
Avatar of AdrianJMartin
AdrianJMartin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial