We have given up on using the .NET validators because of poor reliability and
scope which we need them defined. Even on PCs with the same OS and frame
work, it was a crapshoot if they would work as intended on one PC and not
another
Coding our on validation has proved more reliable
--
JP
..NET Software Developer
"Henning Krause [MVP - Exchange]" wrote:
Hello,
you should perhaps use a CustomValidadator here to check your own
constraints. It has a property called ClientValidationFunction, which is
called before post back.
Best regards,
Henning Krause
"JP" <JP@discussions.microsoft.comwrote in message
news:F7**********************************@microsof t.com...
I have a textbox with Autopostback = true.
I also have in JavaScript that checks the value before the postback occurs
OnBlur = "return CheckValue(myValue)"
Ive always gotton it to work with command buttons that if the return value
was false, then the Server-side method behind the button would not
execute.
But how can I do the same for a textbox with AutoPostBack set to true? It
performs the postback regardless if the return value was true or false.
--
JP
.NET Software Developer