FineUI/FineUI_v6/FineUI.Examples/grid/grid_newtab_window.aspx.cs

36 lines
756 B
C#
Raw Permalink Normal View History

2017-09-05 11:30:31 +08:00
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.grid
{
public partial class grid_newtab_window : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
LoadData();
string paramName = Request.QueryString["name"];
if (!String.IsNullOrEmpty(paramName))
{
labUserName.Text = paramName;
}
}
}
private void LoadData()
{
btnClose.OnClientClick = "parent.removeActiveTab();";
}
}
}