Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Updatepanel and response.binarywrite issue

$
0
0

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?


Viewing all articles
Browse latest Browse all 3509

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>