Until you switch to ASP.NET 2.0, here are your choices:
1. Handle validation manually on the server side.
- Set the button's CausesValidatio n property to false.
- In the Click post back method, call Validate() on each validator. Then
test each validator's IsValid property for true before saving.
2. I wrote a replacement to Microsoft's validators called Professional
Validation And More (
http://www.peterblum.com/vam/home.aspx). It's 25
validators support validation groups right now. I wrote it to address the
numerous limitations I found with Microsoft's validators, such as
client-side validation isn't supported on Mozilla-based browsers. I also
identified numerous enhancements that can make validation better, like
setting focus to the field with the error or changing that field's color. I
have attempted to build a feature rich system that avoids most of the custom
coding and hacks users face with Microsoft's validators.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlu m.com
Creator of "Profession al Validation And More" at
http://www.peterblum.com/vam/home.aspx
"msnews.microso ft.com" <da***@helixpoi nt.com> wrote in message
news:OV******** ********@TK2MSF TNGP14.phx.gbl. ..
I have 2 datagrids. Each with an add record in the footer. How can I just
validate the fields in that datagrid without validating the fields in the
2nd datagrid. Any examples???
--
David