BasePage.OpenWebFormSize("v_ChoosePage.aspx", 255, 540, 250, 300);
Label1.Text = Session["FormID"].ToString();
OpenWebFormSize的代码为:
string js = @"<Script language='JavaScript'>window.open('" + url + @"','','height=" + heigth + ",width=" + width + ",top=" + top + ",left=" + left + ",location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no');</Script>";
HttpContext.Current.Response.Write(js);
可是现在关键在于我还没有打开我需要的页面,就运行到 Label1.Text = Session["FormID"].ToString();
然后报错,如何解决啊?