Hi, i am using calendar extender for user to make year selection.
The result i want is user navigate through the year and select it and the calendar return the year only.But current practise user need to navigate through year ->Month ->Date , select the date and then the calendar extender return the year value.

My code is as below.This help to navigate through the year, but user stil have to do this: year ->Month ->Date in order to get the year value .Is it possible to make this way : Year-> return year value?

Does anybody has idea to do this?
Code:
function ChangeCalendarView(sender,args)
{
   sender._switchMode("years", true);            
}