protected void Page_Load(object sender, EventArgs e) { bool isValidate; isValidate = IsHaveRightByOperCode("Edit"); fileManage = new FieldManage(null, null); if (!IsPostBack) { PageInit(); } switch (ConfigType) // 配置类型名称 { case "1": // 搜索 configTypeName = "搜索栏"; break; case "2": // 列表 configTypeName = "列表页"; break; case "3": // 编辑 configTypeName = "编辑页"; break; } if (!isValidate) { jsMessage = "alertClose({title:'操作提示',msg:'对不起,您没有编辑字段的权限,请与管理员联系。'},function(){parent.Closed();});"; } }
protected void Page_Load(object sender, EventArgs e) { fieldManage = new KingTop.BLL.Content.FieldManage(ModelID, TableName); if (!IsPostBack) { PageInit(); } }
protected void Page_Load(object sender, EventArgs e) { fieldManage = new FieldManage(ModelID, TableName); urlParam = "IsSub=" + IsSub + "&page=" + Split.CurrentPageIndex.ToString() + "&ModelID=" + ModelID + "&TableName=" + TableName + "&IsDel=" + IsDel + "&NodeCode=" + NodeCode + "&ModelName=" + ModelName; // 要传递的参数 if (!IsPostBack && !string.IsNullOrEmpty(this.ModelID)) { PageInit(); } SetRight(this.Page, rptModelField); }
protected void Page_Load(object sender, EventArgs e) { fieldManage = new FieldManage(ModelID, TableName); urlParam = "IsSub=" + IsSub + "&ModelID=" + ModelID + "&TableName=" + TableName + "&NodeCode=" + NodeCode + "&ModelName=" + ModelName; // 要传递的参数 if (!string.IsNullOrEmpty(TableName) && TableName.Length > 4) { qianzui = TableName.Substring(0, 4); } if (!IsPostBack && !string.IsNullOrEmpty(this.ModelID)) { PageInit(); } }