F
Flurry
Hello
I've got a problem and I'm not getting much help trying to resolve it.
I've searched google all morning for an answer....
I have the following code:
Lab1.text = "Your Serial Number is: "
Lab2.text = serialNo & "-" & serialYY
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment;
filename=" & fname)
Response.ContentType = "txt, doc, jpg"
Response.WriteFile(path)
which is supposed to output a serial number in two labels and then
download a file. The problem is that when I put the code to download
the file, the serial number is not displayed on the page.
To recap and make sure everything is clear. Without the download code
the labels get set correctly. When I put the download code in, the file
downloads correctly but the labels are never set.
Can someone explain what is going on????
Many thanks...
I've got a problem and I'm not getting much help trying to resolve it.
I've searched google all morning for an answer....
I have the following code:
Lab1.text = "Your Serial Number is: "
Lab2.text = serialNo & "-" & serialYY
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment;
filename=" & fname)
Response.ContentType = "txt, doc, jpg"
Response.WriteFile(path)
which is supposed to output a serial number in two labels and then
download a file. The problem is that when I put the code to download
the file, the serial number is not displayed on the page.
To recap and make sure everything is clear. Without the download code
the labels get set correctly. When I put the download code in, the file
downloads correctly but the labels are never set.
Can someone explain what is going on????
Many thanks...