0
Answer

Trouble uploading printfiles

Ask a question
trufun101

trufun101

20y
1.7k
1
I'm having trouble uploading printfiles (such as PRN, PRT, and PCL) using the System.Web.UI.HtmlControls.HtmlInputFile control. This control works great for any other filetype that I try, but it looks like the printfiles have some sort of escape character that is causing the page to crash when submitting the form. I can't even trap the error because the postback doesn't even occur -- I get a "Page cannot be displayed" error. Has anyone else run into this error, and are there any other components out there that might work? Thanks, -Chris B.