this is my contol:
@(Html.Infragistics().Upload() .ID("igUpload1") .Mode(UploadMode.Single) .LabelUploadButton("Add File") .UploadUrl("~/UploadFolder/") .Render() )
I want choose file to be uploaded to 'Upload Folder' folder.
Hi Ticho,
Thank you for posting on our forums.
The uploadUrl options is used to get or set the URL for uploading and not for setting which folder on the server's file structure you wish to use for file uploads. The approach which is required for handling this is to use the path attribute in your HTTP handler. More details about this can be found in our help documentation:http://www.igniteui.com/help/igupload-using-http-handler-and-modules
Please let me know if you have additional questions regarding this matter.
thanks... ( I need to read more about this)
First, decide on what kind of file are you uploading- single or multiple. Then, you need to set the URL for uploading, and file structure of the server- where you wish to upload files. One can follow the link given by Infragistic Team. Else, you can check out this link as well- http://haacked.com/archive/2010/07/16/uploading-files-with-aspnetmvc.aspx/