A potentially dangerous Request.Form value was detected from the
though i am write [allowhtml] in my model class it will not work
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vinay SinghPosted Aug 8, 2016, 5:10 AM
You have a few options.
On the model add this attribute to each property that you need to allow HTML - best choice
On the controller action add this attribute to allow all HTML
Rajeesh MenothPosted Aug 8, 2016, 5:14 AM
Midhun TpPosted Aug 8, 2016, 4:48 AM