private void UpdatePHtext(ETextItemType ItemType, string txt) { var itemid = Convert.ToInt32(this.ComponentID); List <PluggComponent> comps = this.PluggContainer.GetComponentList(); PluggComponent cToAdd = comps.Find(x => x.PluggComponentId == itemid); BaseHandler bh = new BaseHandler(); var comtype = cToAdd.ComponentType; PHText phText = bh.GetCurrentVersionText(this.CurrentLanguage, itemid, ItemType); phText.Text = txt; phText.CultureCodeStatus = ECultureCodeStatus.GoogleTranslated; phText.CreatedByUserId = this.UserID; if (this.EditCase == 2) { phText.CultureCodeStatus = ECultureCodeStatus.HumanTranslated; bh.SavePhText(phText); } else { bh.SavePhTextInAllCc(phText); } // bh.SavePhText(phText); Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(this.TabID, "", new string[] { "edit=1", "language=" + this.CurrentLanguage })); }