Reputation: 729
I'm using the simple calendar control in ASP.NET 2.0. It has a simple format, and what I want to do, is select 10 years before the active date.
When I click on the link, I can scroll through the months, but not the years.
How can I scroll in the years, such that navigation becomes easy if the user has to select 10 years before the given date?
Upvotes: 0
Views: 814
Reputation: 108937
The default calendar control is very limited and I don't think you can do what you are trying to do with it. But there are plenty for javascript based calendar controls out that that you could use. There is also the asp.net Ajax Calendar control that I have used that has year navigation. If you click on the header (April, 2011), it will let you navigate by Months and if you click the header again then you can navigate by year.
Upvotes: 1