window.location.href 报脚本错误
在Ext.Net中 我项目中有个用户控件,用户控件中有个GridPanel
在GridPanel的GridCommand 的点击事件
function OperationF(command, grid, hidden, record, window, Path) {
if (command == "Zoom") {
//文件类型
window.location.href = '../../ViewDoc.aspx?FilePath=' + Path;
window.show();
}
页面运行的时候报这样的脚本错误('location' is null or not an object)
请高手指点