Progress bar with backend update in MVC

  1. #1

    Progress bar with backend update in MVC

    Is there an example where I can see Progress bar with backend controller update?
  2. #2
    Hello, @Elector!

    It probably depends on what exactly you mean with "backend controller update". As far as updates coming from the server are concerned, this example should cover it:

    - Progress Bar: Server-side updates

    This basically highlights the use of the WebForms' TaskManager feature to easily "time" the direct event calls. The same could be achieved by adding a timed callback to the task starter's DirectEvent (or DirectMethod) trigger.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thank you Fabrizio but the problem is that, when I tried to translate this to MVC, it didn't work.
    First I couldn't add Resource Manager to the page with the progress bar because there is one on the base layout page, Resource manager does not have an ID property so I can't name it, I am not sure if I handled the UI controls well from the controller code, I couldn't use threading as it is in the example... I can't tell you how many things are different and don't work in MVC.
    That is why I was asking so a concrete example in MVC, because it is so much different.

    Thanks
  4. #4
    Hello again, @elector!

    As far as an example in MVC using the feature is concerned, you could check the test case #5 in the Message Box Overview example in MVC Examples explorer.

    Unfortunately the live site is down at the moment, but you can always check the project by yourself by cloning and building from its GitHub project page.

    The example in question is available at src/Areas/MessageBox_Basic. See the view and respective controller, the logic is in the topic #5 within the example.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Thank you very much Fabrizio, this seems like an example that can help.
    Let me give it a try in my code.
    I appreciate your help!
  6. #6
    It works! You're a star! Thank you!
  7. #7

    It may help

    A Progress Bar is used to show the progress of a task, so probably your task is number of file's lines. here it may help you
    https://stackoverflow.com/questions/...rp-asp-net-mvc

Similar Threads

  1. Replies: 2
    Last Post: Dec 19, 2011, 1:54 AM
  2. [CLOSED] MVC - Progress bar not updating
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 12, 2011, 3:27 PM
  3. [CLOSED] MVC- Progress bar and TaskManager
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 12, 2011, 12:56 PM
  4. Progress Bar
    By fabiomarcos in forum 1.x Help
    Replies: 1
    Last Post: Jan 27, 2009, 12:18 PM
  5. Progress bar
    By flaviodamaia in forum 1.x Help
    Replies: 1
    Last Post: Sep 11, 2008, 12:31 PM

Posting Permissions