if (Session["name"] == null)
{
Page.ClientScriptManager.RegisterStartupScript(this.GetType(), "","<script language=javascript>window.open('index.aspx','','width=780,height=550');</script>");
}
{
Page.ClientScriptManager.RegisterStartupScript(this.GetType(), "","<script language=javascript>window.open('index.aspx','','width=780,height=550');</script>");
}
解决方案 »
- ListBox1.Items.Add(...) 貌似LISTBOX每个ITEM的TEXT和VALUE的值是一样的
- 删除文件夹时出现奇怪的错误
- SQL排序的问题。。。。。。。。
- .net vs2005 中使用模板时遇到的问题?(MasterPage.master)
- 我怎么把做好的ASP.NET+SQLServer网页发到网上,让别人浏览
- 简单问题:C#问题:怎样在TextBox中敲回车后,激发指定的按扭Button事件??
- 一个简单的但是我就是搞不定的DataGrid问题!c#+ASP.NET
- 还是 1000 分,第三次问同一问题,(关于使用想对路径生成文件夹,万网不给我权限,请问有没有别的写法)
- asp.net 网站如何给用户建立后台任务
- javascript中的回车或者换行怎么写?
- 在页面中使用Master.Page指向什么?
- 报表
{
Response.Write("<script>window.open('index.aspx');</script>");//会被阻止,不建议另开窗口
}
Page.ClientScript.RegisterStartupScript(this.GetType(), ""," <script language=javascript>window.open('index.aspx','','width=780,height=550'); </script>");