我有 ac# asp.net 3.5 应用程序 我试图在某个事件之后从代码后面打开一个窗口。我有这个,但它不工作,萤火虫没有错误
protected override void OnPreRender(EventArgs e) {
base.OnPreRender(e);
if (openCredentialsWindow) {
if (openCredentialsWindow_ClientId != Guid.Empty) {
this.Page.ClientScript.RegisterStartupScript(this.GetType(), "openCredentials", string.Format("radopen('Services.aspx?clientId={0}, Window_Services')", openCredentialsWindow_ClientId.ToString()));
}
}
}
有任何想法吗?