Validation

  • Thread starter Thread starter James T.
  • Start date Start date
J

James T.

Hello!

I am using user controls to customize the layout of my page. There are two
user controls with some input fields and standard validation controls. My
problem is that every time I am trying to validate the data in one of the
user controls the other one complained about empty required fields. Is there
a way to solve this problem?

Any help is welcome!

James
 
Validation is page wide, so validation controls on one control that fail
to validate will prevent another control from submitting. In ASP.NET 2.0
they've addressed this limitation with validation groups.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top