|
Rank: Advanced Member Groups: Member
Joined: 9/6/2007 Posts: 133
|
I would like to use the calendar as a date picker for a birthday field, but such a value would require that the user be able to select from a wide range of years/dates, and obviously scrolling with the left/right arrows could be tedious. Is there an example of the calendar with drop-downs for year and month that does not require postback?
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Yes. You can load the demo project, then go to Calendar -> Features -> Title and Footer Template. The online version of that demo is broken. But it should work fine if you download the latest build.
|
|
Rank: Advanced Member Groups: Member
Joined: 9/6/2007 Posts: 133
|
Cool. That worked great. The only issue I have now is that the Context menu has lots of years (1925 - 1995 is range). Even though the menu does not become visible until I click the little arrow next to the year in the calendar, it causes a horizontal scroll bar, at least in Firefox. The horizontal scroll disappears as soon as the context menu actually appears because at that point, it recognizes the "Height" property. I hope I am explaining this well...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
It might make more sense for you to break all the years into sub menus, for example, 1920s, 1930s, ... 1990s. Then have sub items in each sub menu.
|
|
Rank: Advanced Member Groups: Member
Joined: 9/6/2007 Posts: 133
|
Good idea. Thanks.
|
|