Is there a way to auto upload file automaticlly what the page upload from MVC?
i have a page that uses the jquery igFileUpload control to upload files from users, but when the users decided to update thier profile, i also want them to see thier previous upload files a continue upload new ones if nessery.
Thank You,
Jen0s
Hello Jen0s,
If user decides to refresh or update/Postback the page then the POST request will be terminated and “igUpload” that is in upload mode will lose its state. This means the file upload process will be canceled.
What you can do is to create your page in such way that when user attempts to reload or leave it and upload is in progress, confirm message should be shown asking him if he is sure and notifying that current upload process will be canceled.
If you need additional information let me know.
You miss understood my question. how do I preload the igFileUpload control with file attachements?
if i have c:\\some document.txt, how do i load it automaticlly into the igFileUpload when the page loads.
I have researched this question further and I can inform you that this functionality is not currently supported.
This is not so much control limitation but browser related limitation. For security reasons files cannot be uploaded automatically on user's computer. That is why the UI should be used actively by the user first.
If you need additional clarifications let me know.
Yes, it appears that I misunderstood your description of the scenario. I can now see that you actually want to be able to start upload of some files on page load without using the control UI.
I have checked in control’s API and it appears that such functionality (automatic upload with no UI) does not appear present - http://help.infragistics.com/jQuery/2012.2/ui.igupload
I will research additionally and inform you with the results.