info@techdevops.com | 437-991-3573 | Data Engineering Services
TechDevOps.com
Resources Tools
Experts in Microsoft SQL Server on Windows, Linux, Containers | Clusters, Always On, FCI | Migrations, Cloud, Performance



Display a loading message while ASP.NET Update Panel is updating
by BF (Principal Consultant; Architecture; Engineering)
2015-08-18







Solution:

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
...
<ContentTemplate>
...

<asp:UpdateProgress ID="updprogress" runat ="server">
<ProgressTemplate>
<div style="position: fixed; height: 100%; width: 100%; text-align: center; top: 0; right: 0; left: 0; z-index: 9999999; background-color: #000000; opacity: 0.5;">
<span style="border-width: 0px; position: fixed; left: 45%; top: 45%; padding: 25px; background-color: #FFFFFF; font-size: 28px;">Loading</span>
<%--<img src="/images/spin.gif" style="position:fixed;left:50%; top:50%;">--%>
</div>
</ProgressTemplate>
</asp:UpdateProgress>