Can I send HTML string to Controller? if Yes then How.?
Pavan Satpute
May be it'll be helpful for you - Index.csHtml ------------------------ @{ ViewBag.Title = "title"; Layout = "~/Views/Shared/_Layout.cshtml"; }
Yes you can, there is two ways 1. Using web.config ---> appsettings 2. Put one attribute ([ValidateInput(false)]) onto the action that you want to posting back on the server side
http://stackoverflow.com/questions/16682450/passing-string-with-html-tags-to-controller-in-asp-net-mvc
Yes we can send HTML string to Controller. we need to put [ValidateInput(false)] on the action method on controller side.