<html>
<head>
<titel><titel>
<style type="text/css">
body
{
height: 100%;
} #progressBackgroundFilter
{ 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:1000;
position:absolute;
height: expression(document.body.cpentHeight + "px");
width: expression(document.body.cpentWidth + "px"); }
#processMessage { padding:10px; width:14%; z-index:1001; background-color:#fff; border:sopd 1px #000;
position:absolute;
top: expression((document.body.cpentHeight * .30) + "px") }
</style></head>
<body>
<asp:ScriptManager ID="ScriptManager2" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:updateprogress associatedupdatepanepd="UPDATEPANELID" id="updateProgress" runat="server"> <progresstemplate> <div id="progressBackgroundFilter"></div> <div id="processMessage"> Loading...<br /><br /> <img alt="Loading" src="images/ajax-loader.gif" /> </div> </progresstemplate> </asp:updateprogress> </ContentTemplate> </asp:UpdatePanel>
</body>
</html>
TAG: Ajax实例