protected override void Page_Load(object sender, EventArgs e) { base.Page_Load(sender, e); if (!this.IsPostBack) { litPageTitle.Text = GetLabelText("Channel_Title"); litChannelName.Text = GetLabelText("Channel_ChannelName"); txtChannelName.ToolTip = GetLabelText("Channel_ChannelName"); if (Request.QueryString["action"] == "modify") { //get PermissionCategoryId int MenuCategoryId = Convert.ToInt32(Request.QueryString["id"]); Johnny.CMS.BLL.SeH.Channel bll = new Johnny.CMS.BLL.SeH.Channel(); Johnny.CMS.OM.SeH.Channel model = new Johnny.CMS.OM.SeH.Channel(); model = bll.GetModel(MenuCategoryId); txtChannelName.Text = model.ChannelName; btnAdd.ButtonType = Johnny.Controls.Web.Button.Button.EnumButtonType.Save; } //RFVldtMenuCategoryName.ErrorMessage = GetMessage("E00801", txtMenuCategoryName.MaxLength.ToString()); } }