I have a Calendar Extender.
I want to show only current year in calendar.
User can not select 2010 as current year is 2011.
So how to do this ?
I have a Calendar Extender.
I want to show only current year in calendar.
User can not select 2010 as current year is 2011.
So how to do this ?
Use StartDate property of your extender. For example:
Use the
StartDate
andEndDate
properties to set a range of acceptable dates that you want to allow the user to select - you can set this in the markup as per krolik's answer, or in the code-behind so you can set it to the current year e.g.