page property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how can i set the page property validaterequest="false"? Where in code does
this go and what is the syntax?


Thanks

Manny
 
It goes in the Page directive at the top of the aspx file. Should look
something like this:

<%@ Page language="c#" Codebehind="Test.aspx.cs" AutoEventWireup="false"
Inherits="Test" ValidateRequest="false" %>

Of course you'll have to change the name of the Codebehind file and the
Inherits tag to match your page and code.

Also, note that this page directive is a feature that was introduced with
..NET Framework version 1.1.
 
Back
Top