G Guest Oct 21, 2004 #1 how can i set the page property validaterequest="false"? Where in code does this go and what is the syntax? Thanks Manny
how can i set the page property validaterequest="false"? Where in code does this go and what is the syntax? Thanks Manny
B Ben Lucas Oct 21, 2004 #2 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.
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.