This post originated from an RSS feed registered with .NET Buzz
by douglas reilly.
Original Post: Validator improvements in Whidbey
Feed Title: Doug Reilly's Weblog
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/dreilly/rss.aspx
Feed Description: ASP.NET and More...
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..