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.
Unfortunately, activation email could not send to your email. Please try again.

MonthCalendar in GridDataBoundGrid

Thread ID:





24454 Feb 4,2005 01:11 AM Feb 4,2005 08:29 AM Windows Forms 1
Tags: GridControl
Asked On February 4, 2005 01:11 AM

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

Replied On February 4, 2005 08:29 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.