主页面用以下javascript函数打开B.aspx弹出页面,能正常弹出SMS_UsersAdd.aspx页面,但不会执行B.aspx页面的Page_Load 函数。只有点击B.aspx里的按钮Page_Load 函数才会被执行。这是为什么呢?谢谢。
function PopChild() 
{
    var resut = window.showModalDialog("B.aspx", arguments, "status:no; dialogHeight:350px; dialogWidth:400px;");
     location.replace(location.href);
     return true;
}