0

I need to have 2 progress bars in my application:

  1. Circular graphical progress bar (busy indicator)
    • as shown in the link [15.1.3] when the page does a postback and
  2. A determinate progress bar
    • as shown in the link [15.1.1] with showing a percentage when I update or load data into the grid which I use in my application.

Can anyone help me with code snippets and how I can proceed with my .aspx and .aspx.cs files in order to obtain these progress bars for my application?

0

1 Answer 1

1

You can use an UpdateProgress control for the busy indicator, which is very easy:

   <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="0">
       <ProgressTemplate>
           <div>
               <img src="../Resources/Images/indicator.gif" />
               Loading...
           </div>
       </ProgressTemplate>
   </asp:UpdateProgress>

But a progress bar is going to require a bit more work. You'll need to run a background thread to do the work, and you'll then need to periodically post back to check the value of, say, session variable to get your current progress.

Sign up to request clarification or add additional context in comments.

1 Comment

I dint get it!!! it's showing "Update panel not available" and "no script manager" errors!!.... (i) I want the busy indicator to work when the page is post back and (ii) determinate progress bar to work when I'm adding rows to the Grid which I've in my application.... Can u help me ? and also assist how to proceed with as I'm pretty new to this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.