Progress bar in

Posted by Sathya4260 under ASP.NET AJAX category on | Points: 40 | Views : 12150

Here is the simple code to show the progress bar in between file uploading, or data is retrieved from the database or any calculations

I am using Ajax Tool Kit

use the code as fallows:
<asp:UpdatePanel ID="update1" UpdateMode="Conditional" runat="server">
<table width="100%" border="0" cellspacing="0" runat="server">
<tr >
<asp:UpdateProgress ID="progress" runat="server" AssociatedUpdatePanelID="update1">
<asp:Image ID="imgLoading" runat="server" ImageUrl="~/Images/loadimg.gif" AlternateText="Loading..." />
<asp:Button ID="Updating" runat="server" Text="Save" OnClick="Updating_Click" />

so select gif file as per your wish and just call the image in the progressTemplate, The work is complete...

Comments or Responses

Posted by: Poster on: 3/10/2011 Level:Starter | Status: [Member] | Points: 10
I guess your post would have looked much better if you would have kept your code in the CODE block. Try it and see if yourself.


Login to post response