RequiredFieldValidator is not firing?
-
I have a requiredfield validator in my form which is not firing at all while clicking on the Submit button. The CausesValidationProperty is true for the button control. The rfv is checking against a textbox and that is also set correct in the rfv property. However, the star appears after the postback. Any idea what's happening? Am I doing anything wrong here? :doh: Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
I have a requiredfield validator in my form which is not firing at all while clicking on the Submit button. The CausesValidationProperty is true for the button control. The rfv is checking against a textbox and that is also set correct in the rfv property. However, the star appears after the postback. Any idea what's happening? Am I doing anything wrong here? :doh: Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
-
Yes. It is set to True.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Ideally it should work when you have a text box attached to a RFV. Make sure that the button is not calling a client side javascript which in turn submits the page...
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
-
I have a requiredfield validator in my form which is not firing at all while clicking on the Submit button. The CausesValidationProperty is true for the button control. The rfv is checking against a textbox and that is also set correct in the rfv property. However, the star appears after the postback. Any idea what's happening? Am I doing anything wrong here? :doh: Please help.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Hi,as of my understanding related to ur message I hope u haven't set any error message property for the RFV control.So u r unable to see any message even after the page post back happens(means the validation done).Try to make it. I hope it helps. If not can u clearly post the question on what ur troubling? :)