tags:

views:

24

answers:

0

Hi,

I have a user control say "A.ascx" which contain two textboxes .

Each of the textboxes contain requiredfieldvalidators associated with the controls.

They work fine on validation from the same control .

Now i have another user control say "B.ascx" which contains a button "Validate" .This user control is contained in the first user control that is "A.ascx" .

Now onclick of this button "Validate" from the child user control i want to validate the controls present in the user control "A.ascx"

I tried the Page.Validate("ValidationGroup") it validates but does not show the error message .Error message is only shown if i validate from the control "A.ascx".

How do i validate and get to showing a message from from the control A?

Thanks,

Francis P.