简体   繁体   中英

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:

日历

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM