This is a migrated thread and some comments may be shown as answers.

update progress by controller

1 Answer 404 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
Dario
Top achievements
Rank 1
Veteran
Dario asked on 18 May 2020, 04:12 PM

Hi to all,

I would add a function for witch he will can sync data from his ERP, this process may be very long, but I would show him progress of this process.

I think to use notification but, I don't know if it's a good approach. I think to signalR also, but it seems too much to have only a progressive update.

 

If it's good way first thing, how can I update from action to current view (signalR????)

 

What do you suggest me to do?

1 Answer, 1 is accepted

Sort by
0
Accepted
Aleksandar
Telerik team
answered on 21 May 2020, 12:44 PM

Hi Dario,

The Kendo UI ProgressBar is a client-side widget and its value could be updated through the API via its value method. If some information from the back end is required, you could perform an ajax request to get the current state and then update the ProgressBar value.

With the above suggestion in mind, if we take the ProgressBar Events Demo for an example, instead of incrementing the value on a set interval you can perform an ajax call to get the current state and update the value of the widget.

Regards,
Aleksandar
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ProgressBar
Asked by
Dario
Top achievements
Rank 1
Veteran
Answers by
Aleksandar
Telerik team
Share this question
or