Doug Reilly's Weblog

Embedded Reporting of the Information Age...

Validator improvements in Whidbey

The lowly validator will be updated quite a bit in Whidbey.  First, there will be validator groups, allowing you ro have validators that only fire when controls in the same group that create submissions (like buttons) fire.  The Whidbey validator framework alos allows you to set a control to get focus when an error occurs. 

The group validator is perfect for forms where you dynamically create a number of user controls, and you want the button clicks to only validate the controls for the user control that contains them.  Doing that requires some other sort of validation in the current ASP.NET, since validation is fired for all validators whenever the form is submitted..   

Posted: Oct 29 2003, 08:06 PM by douglas.reilly | with 3 comment(s)
Filed under:

Comments

Dan Auger said:

Any word on if the client-side validation will work in Netscape/Mozilla/Firebird?
# October 30, 2003 10:06 AM

Avonelle Lovhaug said:

I hope they offer a lot more than validation grouping. Peter Blum's Professional Validation and More (PVAM) at www.peterblum.com provides all that and much, much more. For example, many more validation controls, excellent support for many browsers, HTML in the summary control, the ability to retrieve data like the data entered and embedded that in the error message itself...the list goes on and on. Unless Whidbey includes much of the same functionality in Peter's product, I'll be sticking with PVAM.

No financial interest, except that I think his products are awesome, and I hope that he succeeds so that I can continue to reap the benefits of his great code.
# October 30, 2003 12:15 PM

Douglas Reilly said:

I will look at Peter Blum's stuff. As for working on Netscape, certainly the Server side stuff will (as currently) but I am not sure about the client side stuff. I will try and check.
# October 30, 2003 1:13 PM