Re: Highlight Required Field When Not Validated
- From: "sam" <samuelrobertson@xxxxxxxxx>
- Date: 28 Jul 2005 00:11:46 -0700
Its in WebUIValidation.js which will be under your Inetpub directory a
couple folders down. Just trace the functions starting with
Page_ClientValidate or whatever its called in the __doPostback
javascript function which you can see by doing a view page source.
Easiest way to see the offending line is to set a break point in the
aforementioned function and just step into the javascript functions
when the empty textbox doens't get validated (I remember the function
is called CustomValidate or something like that).
Anyway, its pretty straightforward. At work here all of our postback
controls call TPageClient_Validate() rather than the one ASP.NET one.
Most of our javascript funcitons are copied from ASP.NET except for
little changes like you've noticed. But there is no reason why you
can't simply edit the WebUIValidation.js file.
.
- Follow-Ups:
- Re: Highlight Required Field When Not Validated
- From: Steve Murphy
- Re: Highlight Required Field When Not Validated
- References:
- Highlight Required Field When Not Validated
- From: Steve Murphy
- Re: Highlight Required Field When Not Validated
- From: sam
- Re: Highlight Required Field When Not Validated
- From: Steve Murphy
- Highlight Required Field When Not Validated
- Prev by Date: Getting Databinded CheckBoxlist to display Boolean value ?
- Next by Date: Custom DataList Control
- Previous by thread: Re: Highlight Required Field When Not Validated
- Next by thread: Re: Highlight Required Field When Not Validated
- Index(es):
Relevant Pages
|