AJH.CMS.WEB.UI.Admin.ManageCMSControl_UC.BeginAddMode C# (CSharp) Method

BeginAddMode() private method

private BeginAddMode ( ) : void
return void
        void BeginAddMode()
        {
            ViewState.Remove(CMSViewStateManager.CMSControlID);
            pnlCMSControlItem.Visible = true;
            txtName.Text = string.Empty;
            txtDescription.Text = string.Empty;
            txtUserControlPath.Text = string.Empty;
            cddModule.SelectedValue = cddModule.PromptValue;

            btnSave.Visible = true;
            btnUpdate.Visible = false;
            pnlCMSControlItem.DefaultButton = btnSave.ID;
        }
        #endregion