title: ValidateRequest="False" inside a master page
body: <p>My application uses a single aspx page, and dynamically loads in master pages based on the url.</p>
  
  <p>I have a few secured master pages that have forms that need to post html, so I have to set ValidateRequest="false". This of course isn't available in the @Master directive, only the @Page directive. I don't want to disable this security setting site-wide, so is there an alternate way of accomplishing this at the master page level?</p>
  
  <p>I'm referring to the "A potentially dangerous Request.Form value was detected from the client" error message you get when posting a page with html markup.</p>
  
  <p>I don't think I can use web.config either as it's the same physical url that's serving up the entire site.</p>
  
  <p>My only thought is to use javascript to encode the input.</p>
  
  <p>Thanks.</p>