有没工具或方法跟踪asp.net页面加载的情况?
情况是这样的:我一个框架页面,点击导航,内容框架页面切换,东西加载完了可是ie状态条还提示东西未加载完,
郁闷的是,有时候出现,有时候不出现。
我怀疑是是js的问题:
<div id='frmloading' style="display:none;border:0 #EDEDED solid;position:absolute;font-size:9pt;height:38px">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><IMG src="pic/load.gif" alt="加载"></td>
<td valign="middle"><span style="font-weight:bold;font-size:9pt;color:cornflowerblue;">正在加载,请稍后...</span></td>
</tr>
</table>
</div>
导航按钮调用js,跳转
function getRequestId(requestID) {
var frame = window.parent.document.getElementById("right"); //frame
var loading = window.top.document.getElementById("frmloading"); //进度条
loading.style.width = "250px";
loading.style.height = "38px";
loading.style.position = "absolute";
loading.style.left = (window.screen.width - 250) / 2;
loading.style.top = (window.screen.height - 38) / 2;
loading.style.display = "block";
frame.src = requestID;
restoreViewState();
}
function restoreViewState() {
var frame0 = window.parent.document.getElementById("right");
var loading0 = window.top.document.getElementById("frmloading");
if (frame0.readyState == "complete") {
loading0.style.display = "none";
}
else {
setTimeout("restoreViewState()", 10);
}
}
有没工具跟踪,页面加载情况,查看什么没加载完或什么还在执行?