PDA

View Full Version : How to do a real progress bar using MVC.net C# / sencha?



Elfayer
17 Sep 2012, 7:01 AM
Hi,

I now have a upload file function in my program. In the sencha side I use a form to call an upload function in MVC. The thing is that I'm using a :

waitMsg: 'Uploading your file...',

And the progress bar is not real, that's just an animated image. I would like to have the real progress of the upload. But I don't know at all how to do that.

How can I give to sencha the progression of the upload? How do I manage it on the sencha side?

Thanks in advance !

mitchellsimoens
24 Sep 2012, 7:07 AM
You can use your own Ext.Msg and use it's updateProgress method to have control of the progress bar.