Hi,
I am maintaining page where a user control is initialized dynamically.
The user control UC1 has a customvalidator using server side validation. When the postback is caused by a button inside the user control UC1 causes the postback, the customvalidator works fine and I get my validation results displayed. However, If I click a button located on a second user control UC2 on the main aspx page, the validation doesn t execute and I get no result validation error displayed.
My question,
how can I make the validation execute on the user control UC1 when the postback is caused by a button located in another user control UC2 on the main page? and how can I get the user control UC1 display the validation error message?
p.s: Notice that I am using customvalidator on server side, not on client side




Reply With Quote