On Tue, 19 Aug 2008 22:36:34 +0200, <CO*********@lycos.comwrote:
I have a page that has several validators, and they are organized into
validation groups. I want to check the 'Page.IsValid' flag, but I
don't think I can make it restrict itself to one validation group.
How do I check whether the first validation group is valid, without
having the other groups checked at the same time?
Thanks,
Marvin
Assuming that you have an <asp:Buttonelement in your user interface,
which is responsible for raising the event accessing Page.IsValid, simply
add this Button to the desired validation group:
http://msdn.microsoft.com/en-us/libr...tiongroup.aspx
Other controls triggering postbacks (LinkButton, etc.) are likely to
provide similar functionality.
--
Joern Schou-Rode
http://malamute.dk/