Response.End

  • Thread starter Thread starter C
  • Start date Start date
C

C

Hi,

I have and ASPX Page.

On submitting the for I write out soem text to soem server
side labels.

I then to a Response.End having done this.

The update to the server side labesl does not get pushed
out to the client.

What do I have to do to get these changes on the server
out to the client.

I need to do a Response.End as I am streaming a download.

If I comment out my Response.End I haveno problem.

I have tried Response.Flushh and it gives me the same
problem.

Anyone got any ideas how to get my server side chanegs in
my labels pushed out to the client???

Thanks,
C
 
On submitting the for I write out soem text to soem server
side labels.

[SNIP]

I need to do a Response.End as I am streaming a download.

If you're sending back a page (with server side labels and stuff) it's
impossible to also stream a download. Either you stream the download or you
send back a page.

It's also a good idea to call "return" after a Response.End.

Hope that helps,
-JG
 
Back
Top