Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Unable to download the file when using Update Panel

$
0
0

Hi,

I need one help for the downloading issue in Update Panel

I have one link button and on click of that, I have writen the code to download the file.

I have used

Response.TransmitFile(filePath);

Response.End();

But this code doesn't work if link botton is inside the Update Panel.

I am gettign the error like:

"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack"

I moved the Response.End() to finally block, this tim no error but no result also, I am not able to download

Please help to how to solve this Update Panel issue.

Thanks

Sharath


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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