[thelist] Forcing ASP.NET code to validate?

Ed McCarroll Ed at ComSimplicity.com
Fri Jan 18 06:48:45 CST 2008


I think you're trying to herd cats.  These <input>s are intrinsic to
.Net and AFAIK, there is no way to change them.  (OTOH, I haven't
looked at how well .Net 3.5 validates.)

ASP.Net is its own standard.  M$: "We don't care -- we don't have to."
(let the flame war begin!)

Regards,

  Ed

"Every man is guilty of all the good he didn't do." (Voltaire)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ed McCarroll                                     Ed at ComSimplicity.com
PO Box 654                                             (310) 904-3651
Culver City, CA 90232                           www.ComSimplicity.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



> -----Original Message-----
> From: thelist-bounces at lists.evolt.org [mailto:thelist-
> bounces at lists.evolt.org] On Behalf Of Jon Hughes
> Sent: Thursday, January 17, 2008 10:01 AM
> To: thelist at lists.evolt.org
> Subject: [thelist] Forcing ASP.NET code to validate?
> 
> I've spent the last 2 years getting the company I work for to adopt
> standards, and it's been a rough road, but I have succeeded for the most
> part.  Nobody is allowed to promote pages that have validation errors or
> are using tables for layout.
> 
> That's just on the designer side.
> 
> Enter the programmers.
> 
> 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
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !




More information about the thelist mailing list