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
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