asp.net ajax progress counter

Posted by xt_20 on Stack Overflow See other posts from Stack Overflow or by xt_20
Published on 2010-05-25T08:19:05Z Indexed on 2010/05/25 8:21 UTC
Read the original article Hit count: 268

Filed under:
|

Hi all, I have a small C# ASP.NET app, and want to include an Ajax progress counter.

The architecture is currently like this: Web Application --> calls a class that does the upload

For example, in default.aspx, I call :

FileHelper fh = new FileHelper()
fh.MoveFiles(file)

I have an Ajax control that fires when the above is called. This is a control that resides on the website class/project.

How do I update the progress counter from the Filehelper class? (I don't think calling the control directly would work as it would be a circular reference) Also how do I continuously update the counter?

Thanks all

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-ajax