[HttpPost, ValidateInput(false)] //validate input needs to be turned off in order to store text that is edited by CKEditor public ActionResult newsupdate(int id, news news) //update specific news article { ViewBag.Group = "Admin"; if (ModelState.IsValid) { try { objNews.NewsUpdate(id, news.title, news.content); return(RedirectToAction("newsadmin")); //after editing, return to admin page. } catch { return(View()); } } return(View()); }