ValidateRequest="false" doesn't work!!!

Posted by Ivan90 on Stack Overflow See other posts from Stack Overflow or by Ivan90
Published on 2010-05-14T17:06:26Z Indexed on 2010/05/14 17:14 UTC
Read the original article Hit count: 181

Filed under:

Hy guys, I am developing a personal blog in asp.net mvc 1.0!

So, I need in some pages to disable validaterequest because, I have to insert html text! For example.. in the page "Insert Post", "Edit Post".. I need to insert html!

I read on web that's necessary to disable validaterequest directly in page with attribute validaterequest = "false" or in webconfig file!

I tryied all ways, but when I insert in my textarea html code, I get always the error of potential value dangerous!

Any solutions?

© Stack Overflow or respective owner

Related posts about asp.net-mvc