.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Real time progress bar with dynamic task state

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :ASP.Net

I'm trying to create custom control which displays real-time state (progress bar, or percent value) during time-consuming task (no animated GIF, or static text message).

This scenarion can't be done with standard UpdateProgress control, because it displays only static progress information.

This custom control can be then used as follows:

  1. Aspx page should contain this custom progress control and a button.
  2. When user clicks button, page executes postback to the server.
  3. Server in button click handler starts performing some time-consuming task.
  4. Client installs timer with interval is set to 2000 ms.
  5. In client timer event handler should be request to the server for progress refresh.
  6. If server receives request from progress control, it checks actual task progress state, and performs client control refresh.
  7. When server terminates executing the task, it hides progress control on the client.

How can be this scenarion accomplished? How can I create such custom control?

thanks in advance

View Complete Post

More Related Resource Links

Cutting Edge: Simplify Task Progress with ASP.NET "Atlas"


Dino Esposito rewrites his task progress bar with the help of ASP.NET "Atlas."

Dino Esposito

MSDN Magazine October 2006

Cutting Edge: Reporting Task Progress With ASP.NET 2.0


The progress bar is great for keeping users informed about the progress of a task. Unfortunately, there's no progress bar element built into ASP.NET, so Dino Esposito solves that problem with his ProgressPanel control.

Dino Esposito

MSDN Magazine September 2006

SQL Server: Build Apps that Provide Real-Time Information and Customized Content Using SQL Server No


The adoption of wireless devices continues to spread unabated, and organizations are looking for new ways to get in touch with customers through these new mobile devices. In the past, unsuccessful ideas such as push technology were used to send targeted information to customers. Now, SQL Server Notification Services uses the SQL Server 2000 database engine and the .NET Framework to promote a new breed of notification applications that will allow relevant, consensual communications to be sent to any subscriber device.Here the author provides an architectural overview of the core features that make up SQL Server Notification Services. Along the way he discusses how they can be used for pushing Web content.

Mark Brown

MSDN Magazine November 2002

DirectX 8.0: Enhancing Real-Time Character Animation with Matrix Palette Skinning and Vertex Shaders


DirectX 8.0 allows the creation of smooth and realistic character movements that are more life-like than simple articulated structure animations. This is made possible by its improved support for vertex tweening and blended vertex deformations, also known as soft-skinning. After a brief history of the use of these techniques in DirectX, soft-skinning using the fixed function pipeline is discussed. This is followed by the use of matrix palettes from within vertex shaders to create a customized soft-skinning solution that takes advantage of the benefits of vertex shaders, such as hardware acceleration and custom lighting algorithms without the limitations of fixed-function solutions.

Benjamin Freidlin

MSDN Magazine June 2001

Windows CE 3.0: Enhanced Real-Time Features Provide Sophisticated Thread Handling


Windows CE is a small, configurable, feature-rich, real-time operating system. In Windows CE 3.0, the real-time support has been improved. This article looks at specific support for the creation of real-time systems and how it compares to the support in Windows for the desktop. The way interrupt handlers, processes, memory management, and synchronization work in Windows CE 3.0 is discussed. An extensive look at threads and thread priority, misconceptions surrounding them, and their impact on performance is included. Refinements to the Windows CE scheduler and support for nestable interrupts are also covered.

Paul Yao

MSDN Magazine November 2000

How to make the Workflow Status remain "In Progress" when a task is "Rejected"


Hi Sir/Mam,

I have a work flow running on a list, when a task is Rejected at a stage then the Workflow status is set to "Completed". Instead of this I want the Status to remain as "In Progress", so that in future after the modification of the document the Approver may Approve it and then take it to the next stages. This is not possible if the Workflow is set to "Completed".

Can you please suggest an easy way to do this

Thanks in Advance


Real-time data replication

Are there any ways to replicate sql server production database to a standby database? I notice that there is a feature called 'continuous replication', does it do in real-time? what is the time-lag? Are there any potential data loss (i.e., production transaction committed but production db corrupted before the transaction is sent to standby)? Is the standby database available for read access during the replication?

How to create custom task form in state machine workflow?

Hi, I want to create custom task form in state machine workflow. How can I create & install?  G. Goyal

In real time how Sharepoint site is deployed from Development to Production?

in our company we are directly working on Production site so we never got scenario to deploy Site to Production Server , so i want to know the procedure to deploy SP site to production Server. in real time do they use any tool to deploy? kindly provide information on this.

Real Time Stored Procedures and Triggers..

hi ..I am learning  Dot Net and i am looking for a job  in it these days... Every Company looked   if am mainly good in Writing Real Time Stored Procedures and Triggers... I am able to grab the basic concepts , but am not able  to write real time examples.... Kindly let me know some Websites or source  where i can find some real Times examples for  Stored Procedures and Triggers, coz  am interested in  practicing it ... Thanks in Advance...

real time reporting options

We have a client with real time reporting requirement. Up to 1 hour lag   time is allowed. Is log shipping an option? Please advise.

This task could not be updated at this time on clicking Edit Task in Outlook 2007



I wonder if someone can help me please.  We have a Workflow that creates a task and sends an e-mail notification to the approver. The Approver receives an e-mail and the Edit task form pops up with the correct information.

When the approver clicks Edit Task we get "This task could not be updated at time time" error when approver clicks submit button.

Upon searching the forum I found this article http://support.microsoft.com/kb/970199  however as the user doesn't have infopath 2007 (only has basic Office 2007) we cannot install the Forms Installer Tool.

Is there any way around this such as turning off the need for Inf

Real time face comparison


Hi, Recently i faced a reqirement, for comparison of face i have my webcam and i need to compare the current image with already stored image. this is very urgent please someone help me.

Display Real Time data in Graph


I want to display real time data in graph , the data is coming from database every 5 sec.

Please Can anyone help me?

"view state" does't work for Image's ImageURL in dynamic controls


Hi all. in my page_load method I call a mthod that it create some dynamic controls. one of them is an Image control that it's ImageURL property set to an URL that is saved in data base. image shows that URL but when postback ocuurs, previous image controls doesn't their image. but other controls for example TextBoxes keep text values. what should I do for keep image url property for this dynamic Images controls?


procedure of doing project in real time environment



i am new to .net, i know fundamentals/basics only, i am using vs2008,sqlserver2005

i want to do a project with asp.net(using c#), SQlServer, Ajax, etc.

but i dont know how to start a project in real time scenario.

please guide me in detail. .

plz z z z z

thanks in advance 

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend