ScriptManager.RegisterStartupScript()问题
ScriptManager.RegisterStartupScript("Zhaobiao.aspx", this.GetType(), "waring", "window.open('Product.aspx?productid=" + productid + "&userid=" + users.User_id + "','_blank','width=550,height=400,status=no,resizable=no,location=center,Toolbar=no,menubar=no,directories=no,scrollbars=no');", true);
ScriptManager.RegisterStartupScript()中的第一个参数应该是什么?
我知道的ScriptManager.RegisterStartupScript()的第一个参数可以是控件,也可以是page,我现在想如果是传page的话,应该是当前web窗体的名字吗?我传了一个,但报错了,报的错是没有匹配的参数!
请各位高手帮帮忙!先谢了!