Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
How to upload file in folder asp mvc
posted

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.


           

Parents
No Data
Reply
  • 9190
    Suggested Answer
    Offline posted

    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.

Children