multiple validation summarys and user controls

G

Guest

Hi

I have created two user controls that are the basis of two forms. I havent
included the form tag in the user controls. one of the controls accepts one
input which is a numeric text field and a button that checks the database for
a value. I have a required field validator and a regular expression
validator to check only a number is entered that is no larger than 5 digits.

The other has several fields that are passed to a stored procedure to make
up another search. this also has a button that checks the database and
returns a result set into its datagrid. This has a regular expression
validator that checks that the date format is entered a specific way.
However this still posts rather than displaying the error. Any ideas on this.

The validation summarys in each control are displaying error messages from
the other control. How can i suppress the error messages and only show the
valid errors.

If any can help i would be very grateful, either that or point out websites
that show what i want to achieve. I am using dot.net 1.1

thanks in advance
 
G

Guest

It don't matter i just used a html form around the ID search and wrote some
javascript to validate it, and posted it to another page like in classic ASP
and for the mutliple items search used an asp.net form that posted back to
itself

problem sorted
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top