Specificying a Page directive attribute on an NHaml page

Posted by ManiacZX on Stack Overflow See other posts from Stack Overflow or by ManiacZX
Published on 2010-04-11T14:53:17Z Indexed on 2010/04/11 15:03 UTC
Read the original article Hit count: 366

Filed under:
|
|

I am working on an MVC site using NHaml for the view engine.

I have a page that needs to submit HTML code as a form value and am getting the System.Web.HttpRequestValidationException thrown at me.

I want to specify the <%@ Page validateRequest="false" %> so that this page will allow this data to be submitted but am unsure on how to do this with NHaml generating the pages.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about nhaml