private void BeginEditMode()
{
if (ViewState[CMSViewStateManager.FeatureID] != null)
{
AJH.CMS.Core.Entities.Feature Feature =
FeatureManager.GetFeature(Convert.ToInt32(ViewState[CMSViewStateManager.FeatureID]), CMSContext.LanguageID);
if (Feature != null)
{
pnlFeatureItem.Visible = true;
ucPortalLanguage.Visible = true;
ucPortalLanguage.SelectedLanguageID = Feature.LanguageID;
txtName.Text = Feature.Name;
btnSave.Visible = false;
btnSaveOtherLanguage.Visible = false;
btnUpdate.Visible = true;
}
}
}