protected void Page_Load(object sender, EventArgs e)
{
ShowLoading();
System.Threading.Thread.Sleep(10000);
Clientscript.RegisterClientscriptBlock(typeof(string), "", "");
}
///
/// 显示页面正在加载中效果
///
public void ShowLoading()
{
StringBuilder s = new StringBuilder();
s.Append(" n");
s.Append("
s.Append("#loader_container {text-align:center; position:absolute; top:40%; width:100%; left: 0;}n");
s.Append("#loader {font-family:Tahoma, Helvetica, sans; font-size:11.5px; color:#000000; background-color:#FFFFFF; padding:10px 0 16px 0; margin:0 auto; display:block; width:130px; border:1px solid #5a667b; text-align:left; z-index:9999;}n");
s.Append("#progress {height:5px; font-size:1px; width:1px; position:relative; top:1px; left:0px; background-color:#8894a8;}n");
s.Append("#loader_bg {background-color:#e4e7eb; position:relative; top:8px; left:8px; height:7px; width:113px; font-size:1px;}n");
s.Append("n");
s.Append("n");
s.Append("n");
s.Append("页面正在加载中...n");
s.Append(" n");
s.Append("n ");
//HttpContext.Current.Response.Write(s.ToString());
HttpContext.Current.Response.Write(s.ToString());
//HttpContext.Current.Response.Flush();



