Brian
Brian

Reputation: 2051

VB.NET/ASP.NET - Calendar Control - Selecting years

How is it possible to let the user choose the year from the Calender Control in ASP.NET?

Currently, the calender allows you to scroll left to right (previous month - next month), so, if for example, someone was born in 1970, he would need to click as far as 1970 to select his date of birth.

How is it possible to overcome this?

Current calender:

Calendar

Upvotes: 1

Views: 5040

Answers (1)

Code Maverick
Code Maverick

Reputation: 20415

As said in the comments, it's not supported out-of-the-box. However, there are other options.

You could use:

OR

You could simply create a custom control, as @Jack Pettinger was alluding to, that does exactly what you want by extending the ASP.NET Calendar control.

Upvotes: 1

Related Questions