When I open a certain page, I receive a "Compilatio n Error" as
follows:
Compiler Error Message: CS0117: 'System.Web.UI. HtmlControls.Ht mlForm'
does not
contain a definition for 'ValidateInput'
Source Error:
Line 712: this.EnableView StateMac = true;
Line 713: this.SmartNavig ation = true;
Line 714: this.Request.Va lidateInput();
Line 715: }
Line 716:
Source File: c:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\Te mporary
ASP.NET
Files\twrgrp_ap ps_inspectionsv 2\0eeca9c5\cb7e 36a7\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.Validat eInput() - why does it complain that there is no
HTMLFORM.Valida teInput()? Does anybody have any idea what's going on
here??