How can we validate Textbox Date of Birth . in asp.net which take input more than 18 years.

Recommended Answers

All 3 Replies

I have the same question? so please healp...

Yes You can Their is Java script to validate that!

If you want to do it with .net use a compare validator control connected to the date of birth textbox. The .net validators can be set to use client side validation for a fast response (server side validation still occurs if the client side validation passes however).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.