protected void MakeTranslatable_Click(object sender, EventArgs e) { var tab = ddlPages.SelectedPage; var defaultLocale = LocaleController.Instance.GetDefaultLocale(PortalId); TabController.LocalizeTab(tab, defaultLocale, false); TabController.AddMissingLanguages(PortalId, tab.TabID); TabController.ClearCache(PortalId); BindCLControl(); }
protected void AddMissing_Click(object sender, EventArgs e) { TabController.AddMissingLanguages(PortalId, ddlPages.SelectedPage.TabID); BindCLControl(); }