[thelist] Forcing ASP.NET code to validate?

Lee Kowalkowski lee.kowalkowski at googlemail.com
Fri Jan 18 07:36:27 CST 2008


On 17/01/2008, Jon Hughes <hughesj at firemtn.com> wrote:
> Our site is currently running on classic ASP, and they are working on
> migrating over to ASP.NET - The problem? I just looked at a test page,
> and saw the following:
>
> <div>
> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT"
> value="" />
> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
> value="/wEPDwUJOTM0NDgzMjAwZGS/dHbq/U6itDoMWx2lQtHNAj9AwQ==" />
> </div>
>
> This is generated (along with some javascript that is not used) by the
> ASP.NET - and the programmers don't know how to get rid of it.  But it
> causes all pages to no longer validate.
>
> Does anyone know how to get these to either go away, or make them
> validate?
>
> Thank You,
> - Jon Hughes
> --

Oh, it doesn't look easy:
http://www.liquid-internet.co.uk/content/dynamic/pages/series1article1.aspx.

-- 
Lee



More information about the thelist mailing list