Paul Rowland
Paul Rowland

Reputation: 8352

Ajax Control Toolkit Date Picker - Is it possible to not have to select the day?

So I can set the date format on the Calendar Extender to it displays just the month, but you would still have to select the Year, then the Month, then the Day.

I would like to just select the Year, then the Month.

    <cc2:CalendarExtender ID="DateOfReleaseCalendarExtender" runat="server"
        TargetControlID="DateOfReleaseTextBox"
      Format="MMMM yyyy" />    

Upvotes: 3

Views: 3540

Answers (2)

Jose Basilio
Jose Basilio

Reputation: 51488

This requires patching the CalendarExtender part of the AjaxControlToolkit assembly.

I found a blog post that explains how to do something very similar to what you are trying to do:
Patching the CalendarExtender Control

Upvotes: 3

Jon Adams
Jon Adams

Reputation: 25137

That is not a built-in feature, no. You'll have to extend it yourself. I would probably hook into the Javascript events--whichever one you think makes sense in your situation.

Upvotes: 3

Related Questions