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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Getting File Name from the Uploaded Files

Thread ID:

Created:

Updated:

Platform:

Replies:

121578 Jan 4,2016 07:08 AM UTC Jan 5,2016 01:26 PM UTC ASP.NET Web Forms 3
loading
Tags: Uploadbox
Jenson Chew
Asked On January 4, 2016 07:08 AM UTC

Dear Supports,

Currently, i'm using a javascript Upload box control as I'm enhancing a .NET 2.0 web system which is still using VB.NET. 

How am I going to loop through all the uploaded files to get their file names?

I need to save the file name and path into the database. 

While I noticed that ASP.NET Uploadbox control has easy way to achieve that, but I'm not aware of how Essential JS controls support that?

Thanks.

Regards,
Jenson

Jenson Chew
Replied On January 5, 2016 01:18 AM UTC

Anyone can provide their experiences and expertise in using Javascript uploadbox (not the ejupload control), the native Javascript in the .aspx file, with the vb or c#.net code behind aspx.vb/aspx.cs?

Can't seem to be able to find a better way to run through the multiple files upload and get a variable value from code behind, and save it into database. 

Thanks in advance. 

Jenson Chew
Replied On January 5, 2016 01:59 AM UTC

Ok, managed to solve it using Session Variable by implementing IReadOnlySessionState at the relevant .ashx code file. Then the Session variable from .aspx.vb/.aspx.cs could be read from there. 

Arun Palaniyandi [Syncfusion]
Replied On January 5, 2016 01:26 PM UTC

Hi Jenson,

Thanks for the update.

Please find the alternate solution for your query in the Forum 110743.

Please contact us in future if you have any queries.

Regards,
Arun P

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;