Default1.aspx.cs
资源名称:moban.rar [点击查看]
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:1k
源码类别:
软件测试
开发平台:
Java
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Web.UI.HtmlControls;
- public partial class Main_Default1 : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- RunScript("top.myTab.Cts('服务端_以只聚焦不刷新的方式打开','default2.aspx?Id=" + DateTime.Now.ToString() + "',true);");
- }
- protected void Button2_Click(object sender, EventArgs e)
- {
- RunScript("top.myTab.Cts('以聚焦并且刷新该页的方式打开','default2.aspx?Id=" + DateTime.Now.ToString() + "',false);");
- }
- private void RunScript(string script)
- {
- this.ClientScript.RegisterStartupScript(this.GetType(), script, script, true);
- }
- }