c# - Uploading a file and getting the uploaded percentage in MVC and JQuery -


i developing file upload feature in mvc4 jquery progress bar.

i have done file uploading part. need next find uploaded data size during uploading , use value populate progress bar.

how can uploaded data size during uploading file?

i not expecting whole block of code complete file upload. need reference or code block, on how uploaded data size. have used c# application.

i have found following link. need use xmlhttprequest object periodically check progress , update progress bar values. have not yet done coding this, update once done.

https://developer.mozilla.org/en-us/docs/web/api/xmlhttprequest/using_xmlhttprequest?redirectlocale=en-us&redirectslug=dom%2fxmlhttprequest%2fusing_xmlhttprequest

thanks,


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -