protected void publishPageButton_Click(object sender, EventArgs e) { var tabCtrl = new TabController(); var modCtrl = new ModuleController(); //First mark all modules as translated foreach (ModuleInfo m in modCtrl.GetTabModules(Tab.TabID).Values) { modCtrl.UpdateTranslationStatus(m, true); } //First mark tab as translated tabCtrl.UpdateTranslationStatus(Tab, true); //Next publish Tab (update Permissions) tabCtrl.PublishTab(Tab); //Redirect to refresh page (and skinobjects) Response.Redirect(Request.RawUrl, true); }