void BeginAddMode()
{
ViewState.Remove(CMSViewStateManager.CategoryID);
pnlCategoryItem.Visible = true;
txtDescription.Text = string.Empty;
txtName.Text = string.Empty;
txtOrderNumber.Text = "0";
cddParentCategory.Category = CMSConfig.ConstantManager.CategoryCategory + ViewState[CMSViewStateManager.ModuleID];
cddParentCategory.SelectedValue = cddParentCategory.PromptValue;
btnSave.Visible = true;
btnUpdate.Visible = false;
pnlCategoryItem.DefaultButton = btnSave.ID;
}
#endregion