Aborting a _Click event?

W

Wayne MJ

I have a web control embedded in an aspx page.

On the web control, I have a custom_validator that checks the status
of a dropdown list and compares that to ensure the appropriate text
fields are filled.

When I step through the code, I see that it is infact being run, and
returning:
args.IsInvalid = false;

But, unlike past attempts the _Click event (in this case a
Button_Click) is still being fired disregarding the afore mentioned
CustomValidator being negative.

Is this because the control is on a web control on not natively being
referenced from the base aspx page, or is there something else that I
need to look at?
 

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

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top