Gmail Like UpdateProgress

Below is some code to create a Gmail like UpdateProgress control. Displays a red box with white text in the upper right side of the browser.

<div style="font-weight: bold; left: 90%; color: white; font-family: Arial; position: absolute;
   top: 2px; background-color: red; border-top-width: thin; border-left-width: thin;
   border-left-color: black; border-bottom-width: thin; border-bottom-color: black;
   border-top-color: black; border-right-width: thin; border-right-color: black;">
   <asp:UpdateProgress ID="UpdateProgress1" DisplayAfter="200" runat="server">
      <ProgressTemplate>
         Updating...</ProgressTemplate>
   </asp:UpdateProgress>
</div>

Tip Submitted By: David McCarter


Discover more from dotNetTips.com

Subscribe to get the latest posts sent to your email.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.