![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In one of our requirements for our project we have a screen which will display a list of file in a dropdown list and after selecting a file from the dropdown and clicking the submit button it must open the requested file in the browser. Types of files are .doc or .pdf. I trying to open the file in the click even of the button using the response.redirect. It is working well for .doc files, but the it is not working for pdf files, it says the file is damaged. The same file is working (file is opened in the browser) when i am writing the same code in the page load event of the page. how do i display the file. or is there some other method for the same. |
#3
| |||
| |||
|
|
In one of our requirements for our project we have a screen which will display a list of file in a dropdown list and after selecting a file from the dropdown and clicking the submit button it must open the requested file in the browser. Types of files are .doc or .pdf. I trying to open the file in the click even of the button using the response.redirect. It is working well for .doc files, but the it is not working for pdf files, it says the file is damaged. The same file is working (file is opened in the browser) when i am writing the same code in the page load event of the page. how do i display the file. or is there some other method for the same. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |