Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 23, 2012 07:49 AM by niksv
Apr 22, 2012 11:30 AM|LINK
I have a webform that displays pdf file as soon as it loads.Here is the code in its pageload
Response.ContentType = "application/pdf"
Now in the button click of WebForm2.aspx i have the below code
The problem is that when the button is clicked it opens a modal dialog but the pdf file is not displayed.
When i use window.open instead of window.showModalDialog the pdf file is displayed.But I want to display the file in a modal dialog so that the parent window will be disabled.
Please suggest a solution to this problem.
Apr 23, 2012 07:49 AM|LINK