Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
Howto initialize a calendar dropdown in an ultragrid to a date in the future
posted

I have bound a List<myClass> to an ultragrid, where myClass contains a property DateTime RequiredDate {get;set;}

When the user now clicks on the (automatically generated) calendar in the grid, the calendar opens, but always with Today as startdate.

As the grid will be used for a future planning, the calendar always should start in the next calendar year (just when the caledar dropped down)

I think that setting the value is not an option because than it will be set in the grid although the user has choosen no date.

Setting the minvalue also is no option because the user should be able to choose years in the past.

using winforms version 13.1.20131.2027