I just need the name of the file, but when I click the save button it kinda uploads the file (big files will produce an exception) and I don't want the page to "try" to upload the file.
Markup:
<asp:FileUpload runat="server" ID="txtPDFPath" />
Code Behind:
Reference r = new Reference() { R_CatalogNumber = txtCatalogNumber.Text.ToLower(), R_PDFPath = txtPDFPath.FileName.ToLower() };