webusercontrols affect each other ???

C

cmrchs

hello,

I have a webusercontrol on which I drag a textbox, a
requiredfieldvalidator and a button
I specify the necessary properties and drag/drop the control onto a
webform.

I launch the app and when I click he button, the message from the
requiredfieldvalidator appears next to the textbox.

So far so good.

Now, when i add a second usercontrol onto the webform, run the app
again and click on the button of the second user control,
the message of the requiredfieldvalidator appear in both controls !!!

I'd like to keep validation within a usercontrol, not affecting the
validation of the other control.

how can this be achieved?

thank you
Chris
 

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,982
Messages
2,570,189
Members
46,734
Latest member
manin

Latest Threads

Top