Progress indicators

Topics: Customizing Orchard, Writing modules
Nov 16, 2011 at 1:54 PM

I was searching for a way to do some background tasks in an Orchard module, but need some UI indicators to let the user knows how much proceeded.

I read about IBackgoundTask, but cannot find out where to get and set progress percentage?!

Nov 16, 2011 at 10:37 PM

There is nothing like that.

Nov 17, 2011 at 12:12 PM

You could try doing something manually by writing the progress out to either a database record (which *could* have locking issues) or by writing the value to a file (you can use the IFileLockingService)