H
Hazz
I needed to provide client side validation for a web forms text box, radio
button list, and drop down list.
I asked two developers I work with what they thought I should do. One said
Javascript, the other the Validation Controls.
I chose the RequiredFieldValidator although I had done considerable work
with Javascript in my ASP days.
In 3-5 minutes I had two controls validated and working. It took me a little
longer with the drop down list only because I had to append an empty string
as an item to that list so I could set that to the initial value. I also had
to disable the controls on other events and to enable the controls on Form
Load. But I loved their seemingly simple and effective solution for the
task!
I went to a meeting with my boss and two brand new programmers and mentioned
what I had done. My boss said that he had tried them but he found the
ASP.NET validation controls to be buggy. The other new developer said he had
some funny experience with them.
Are they robust, consistent, and reliable controls or not !!??? I would
really appreciate some wisdom here from veteran ASP.NET'ers.
Thank you very much. -hazz
button list, and drop down list.
I asked two developers I work with what they thought I should do. One said
Javascript, the other the Validation Controls.
I chose the RequiredFieldValidator although I had done considerable work
with Javascript in my ASP days.
In 3-5 minutes I had two controls validated and working. It took me a little
longer with the drop down list only because I had to append an empty string
as an item to that list so I could set that to the initial value. I also had
to disable the controls on other events and to enable the controls on Form
Load. But I loved their seemingly simple and effective solution for the
task!
I went to a meeting with my boss and two brand new programmers and mentioned
what I had done. My boss said that he had tried them but he found the
ASP.NET validation controls to be buggy. The other new developer said he had
some funny experience with them.
Are they robust, consistent, and reliable controls or not !!??? I would
really appreciate some wisdom here from veteran ASP.NET'ers.
Thank you very much. -hazz