Code
protected void Application_PreRequestHandlerExecute(object sender, EventArgs e)
{
SchoolMIS.Sys.User.UserFactiory.GetUser().Delay(480);
IHttpHandler handler = HttpContext.Current.CurrentHandler;
if (handler != null && handler is Page)
{
string s = @"<script language=""javascript"" type=""text/javascript"" src=""/images/loading.js""><";
s = s + "/script>";
Page p = (Page)handler;
p.RegisterClientScriptBlock("d", s);
}
}
posted @
2009-09-07 14:29
zyip
阅读(
216)
评论()
编辑
收藏
举报