protected void btnSaveRRt_Click(object sender, EventArgs e) { List <PluggComponent> comps = this.PluggContainer.GetComponentList(); PluggComponent cToAdd = comps.Find(x => x.PluggComponentId == this.ComponentID); BaseHandler bh = new BaseHandler(); var comtype = cToAdd.ComponentType; PHLatex latex = bh.GetCurrentVersionLatexText(this.CurrentLanguage, this.ComponentID, ELatexItemType.PluggComponentLatex); latex.CultureCodeStatus = ECultureCodeStatus.GoogleTranslated; latex.ItemId = this.ComponentID; latex.CreatedByUserId = this.UserID; latex.Text = System.Net.WebUtility.HtmlDecode(richrichtext.Text); //bh.SaveLatexText(latex); bh.SaveLatexTextInAllCc(latex); Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(this.TabID, "", new string[] { "edit=1", "language=" + this.CurrentLanguage })); }