P
Patrick Huffer
When I open a certain page, I receive a "Compilation Error" as
follows:
Compiler Error Message: CS0117: 'System.Web.UI.HtmlControls.HtmlForm'
does not
contain a definition for 'ValidateInput'
Source Error:
Line 712: this.EnableViewStateMac = true;
Line 713: this.SmartNavigation = true;
Line 714: this.Request.ValidateInput();
Line 715: }
Line 716:
Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET
Files\twrgrp_apps_inspectionsv2\0eeca9c5\cb7e36a7\5uspnrgt.0.cs
Line: 714
This file is autogenerated by ASP.NET - I have no control over it. I
looked up "ValidateInput()" - the documentation says it is only in
version 1.1 of the framework. My application was originally desinged
in 1.0 of the framework - maybe that has something to do with it?
Visual Studio converted it to 1.1 for me when I upgraded. Also, the
web form has a couple embedded user controls - if that affects
anything.
Just looking at this code - it's clearly asking for
REQUEST.ValidateInput() - why does it complain that there is no
HTMLFORM.ValidateInput()? Does anybody have any idea what's going on
here??
follows:
Compiler Error Message: CS0117: 'System.Web.UI.HtmlControls.HtmlForm'
does not
contain a definition for 'ValidateInput'
Source Error:
Line 712: this.EnableViewStateMac = true;
Line 713: this.SmartNavigation = true;
Line 714: this.Request.ValidateInput();
Line 715: }
Line 716:
Source File: c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET
Files\twrgrp_apps_inspectionsv2\0eeca9c5\cb7e36a7\5uspnrgt.0.cs
Line: 714
This file is autogenerated by ASP.NET - I have no control over it. I
looked up "ValidateInput()" - the documentation says it is only in
version 1.1 of the framework. My application was originally desinged
in 1.0 of the framework - maybe that has something to do with it?
Visual Studio converted it to 1.1 for me when I upgraded. Also, the
web form has a couple embedded user controls - if that affects
anything.
Just looking at this code - it's clearly asking for
REQUEST.ValidateInput() - why does it complain that there is no
HTMLFORM.ValidateInput()? Does anybody have any idea what's going on
here??