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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Passing dynamic file name from a control to savefiles.ashx

Thread ID:

Created:

Updated:

Platform:

Replies:

124774 Jun 29,2016 09:33 AM UTC Jul 4,2016 09:55 AM UTC ASP.NET Web Forms 1
loading
Tags: Uploadbox
Danferd Lan
Asked On June 29, 2016 09:33 AM UTC

Hi,

i was thinking to change the file name of the upload file based on the value entered by user in a text box and this is what i have tried but it's not working. Any idea how to change the file name?

<ej:UploadBox ID="upbRecogLetter" runat="server" AllowDragAndDrop="True" AsyncUpload="True" SaveUrl='<%# String.Format("saveFiles.ashx?TID={0}", txtTransID.Text.Trim)%>' RemoveUrl="removeFiles.ashx" MultipleFilesSelection="False"></ej:UploadBox>  

Gopi Govindasamy [Syncfusion]
Replied On July 4, 2016 09:55 AM UTC

Hi Danferd,  
We have prepared a sample based on your requirement (“Passing dynamic file name from a control to savefiles.ashx”) for ejUploadbox control. The sample can be download from the following location.   
Please let us know whether the provided sample helps you to achieve your requirement. If not, then revert with more information we will assist you gladly.   
  
Regards,   
Gopi G   


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

;