We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

MonthCalendar in GridDataBoundGrid

Is it possible to set the default date of the month calendar in a griddataboundgrid to anything other than today? T.I.A Jeff

1 Reply

AN Anonymous February 4, 2005 01:29 PM UTC

Hi Jeff, after the month calendar is dropped down the CurrentCellShowedDropDown event is raised. There you could set the date in the dropdown. The MonthCalendar control should be accessible with MonthCalendar mc = ((GridDropDownMonthCalendarCellRenderer) grid.CurrenntCell.Renderer).DropDownContainer.Controls[0]); then you can set the date on the MonthCalendar control. Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon