P
PromisedOyster
1. I have a series of RequiredFieldValidators that need to be be
enabled/disabled depending on what the user types into various text
boxes.
Can I do this using the Enabled property of the validator. Or should I
use the CausesValidation on the control?
2. Also, with my text boxes, I am not getting the TextChanged events
firing. I tried changing the AutoPostBack property on the text box to
true but this still did not fire the event? What am I doing wrong?
(Note it is within these TextChanged events that I am attempting to
disable the validators).
Sorry if this is a simple ASP.NET question but I have mostly been using
WinForms.
enabled/disabled depending on what the user types into various text
boxes.
Can I do this using the Enabled property of the validator. Or should I
use the CausesValidation on the control?
2. Also, with my text boxes, I am not getting the TextChanged events
firing. I tried changing the AutoPostBack property on the text box to
true but this still did not fire the event? What am I doing wrong?
(Note it is within these TextChanged events that I am attempting to
disable the validators).
Sorry if this is a simple ASP.NET question but I have mostly been using
WinForms.