3

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" />    
Paul Rowland
  • 8,244
  • 12
  • 55
  • 76

2 Answers2

3

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.

Jon Adams
  • 24,464
  • 18
  • 82
  • 120
  • 1
    The alterantive is to use jQueryUI DatePicker check: http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only – mas_oz2k1 May 10 '13 at 22:01
3

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

Jose Basilio
  • 50,714
  • 13
  • 121
  • 117