I have an UpdatePanel that contains a button. There is also an UpdateProgress with a label. When the button is clicked the label shows text that tells the user what is going to happen. Then I run a routine that packages a number of binary data files into a zip file that can then be downloaded using response.binarywrite. I have discovered that I cannot use response.binarywrite with an update panel unless I add a postback trigger to the button. However, when I do this the label message no longer appears. So if the label displays, the response.binarywrite does not work and if the response.binarywrite works, the label does not display. How can I get both?
↧