<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"> <style type="text/css"> #progressBackgroundFilter_UpdatePanel { position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow: hidden; padding: 0; margin: 0; background-color: #000; filter: alpha(opacity=50); opacity: 0.5; z-index: 999999998; } #processMessage_UpdatePanel { position: fixed; top: expression((document.documentElement.clientHeight - 45)/2 + 'px'); bottom: expression((document.documentElement.clientHeight - 45)/2 + 'px'); left: expression((document.documentElement.clientWidth - 200)/2 + 'px'); right: expression((document.documentElement.clientWidth - 200)/2 + 'px'); z-index: 999999999; background-color: #fff; border: solid 1px #105da4; } </style> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <contenttemplate> <div style="padding-removed 450px;"> <asp:UpdateProgress AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="0" DynamicLayout="true" ID="updprgModels" runat="server"> <progresstemplate> <div id="progressBackgroundFilter_UpdatePanel"> </div> <div id="processMessage_UpdatePanel" align="center"> <br /> <img alt="progress" src="../Images/loading.gif" /> Processing... <br /><br /> </div> </progresstemplate> </div> <div><asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" /> </div> </contenttemplate>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)