开发者

After ASP .Net Dynamically Rendered PDF, Cannot Change Page

开发者 https://www.devze.com 2023-03-01 02:40 出处:网络
I have a page where the user enters some information. At the bottom of the page there is a checkbox that is disabled, that says they have read the PDF to be displayed. They click on a link which dynam

I have a page where the user enters some information. At the bottom of the page there is a checkbox that is disabled, that says they have read the PDF to be displayed. They click on a link which dynamically renders a PDF and is downloaded by the user. After downloading the PDF a Response.End() is issued, which means nothing else can be done on 开发者_JAVA百科the page. I want to be able to enable the checkbox after the PDF is sent.

I have tried saving the data to the Session, opening a new window, and using the Session data to send the PDF from that new window. However, IE popup-blocker blocks it.

Any ideas?


Is there anyway to use jQuery/AJAX for this? If you did you could send the request to download the PDF via the AJAX request, and then re-enable the checkbox with javascript afterwards.

0

精彩评论

暂无评论...
验证码 换一张
取 消