ASP.net MVC2 File upload control for a separate progress bar - asp.net-mvc-2

I would like to find out if there are any good controls available whereby I can upload files (upto 2GB) in a .net mvc2 application. The main issue is that I want to be able to retrieve the upload progress information from this control and have my own progress bar (which is already used in the application for other purposes) to display this information. Any help will be appreciated!

Plupload is a popular plugin. You may also checkout an example.

Related

How to get serverside file uploading progress in Perfect

I'm trying to create a web page using Perfect(perfect.org), Where users will browse and upload files. Can anyone tell me how can I get the progress of file upload?
perfect.org-fileUploads
Refer above link and Do as-usual concept following in HTML-JS-PHP or HTML-JS-JSP or other programming
In other words
you can receive response status in percentage from server-side and display it to client or put loder while uploading the file
Thank you
Before an official solution released from PerfectlySoft Inc. for this feature request, you could try splitting the file into small pieces and upload them one by one, then merge them back to the server - since there is no such an industrial standard to apply, all other web servers either provide different solutions or simply stay away from it.

How to migrate a Dreamweaver site into Kentico

I have a site that was originally built with FrontPage and then transferred over into Dreamweaver. There's a lot of old coding in there and a lot of image maps (think PhotoShop image slicing) for navigation etc. I need to move the site over to Kentico (not my choice) and I'm wondering if there is an easier way of doing it.
I was able to rebuild the whole template in Kentico and now I'm left with creating all the pages and importing content. Currently I'm copying and pasting all the content (text) into the pages I've built and I'm uploading all pdfs and images into the new system. That's all fine and dandy, but there are literally HUNDREDS of pages and THOUSANDS of pdfs. Is there any easier way of doing this? I'm going crazy!
Regrettably there is no easy way to achieve your goal as Kentico is ASP.NET application and your website is built with HTML pages at the moment.
You will need to manually transfer all the pages or you can use Kentico API to handle this programatically but you will need to parse the HTML pages on your own, so in this scenario... the best option is really to transfer all the content manually (or you can pay one of Kentico partners to do this for you).

How user file upload progress in ASP.Net MVC2

I am playing around with Asp.net MVC2 and trying to write a page which allows a user to upload a file to a server and then inserts a record of the file into a DB.
So far I have got everything working but I am struggling to workout how to show the user progress of the file upload or to notify them that the file is being uploaded to the server.
Can someone help me and explain the best way of doing this?
Many thanks,
Morris
You could use client-side upload controls that support progress. Here's one.

open ms doc,docx or image file in browser in c#

I have developed the asp.net mvc application. my one form have the file upload control. so in details view i want to implement the facility to view the uploaded document in browser itself. it should not ask for download and should not open MS office instance to open document. its a user req. It should opens in view mode in browser itself. what code i have to do ? I am using C# as language.
It is not straight forward. For images you can use <img>tag and link to the location in server where you saved the uploaded image. That should work.
However ASFAIK showing the doc/docx things in web page itself is not possible. You will have to employ some third party control to achieve that. Search google to find such controls. May come at a cost.

uploading image to server in iphone and show progress bar....?

i am making an app in which i have to upload an image/video file to the server...i want to know what things i needed to do this..?and i also have to show the progress bar while image is uploading...how can i do this..?
can you write some code snippet on how to upload file to server...?
If you are using http to transfer files.Allseeing-i have a great api for this called ASIHTTPRequest, its feature rich, well documented, easy to use and it supports file transfer tracking.
They have code examples and a description on how to include it in your projects.