We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

fileupload control?

hi can anyone tell me how to get the filename which i uploaded when i click on the upload button.


1 Reply

RP Rekha P Syncfusion Team December 1, 2008 07:00 AM UTC

Hi Pavan,

Thank you for your interest in Syncfusion Products.

To get the file name for an uploaded file:

Inorder to get the uploaded file name, FileName property is used like,

Label2.Text=this.UploadBox1.FileName;

Please refer the below link for sample files which illustrates the retrieving file names for multiple uploaded files.

http://websamples.syncfusion.com/samples/Tools.Web/6.4.0.15/51609/MultipleFileUploads_FileName.zip

Please let me know if you have any concerns.

Thanks,
Rekha


Loader.
Live Chat Icon For mobile
Up arrow icon