Link to home
Start Free TrialLog in
Avatar of johnnyg123
johnnyg123Flag for United States of America

asked on

Issues with changing year on windows form calendar control

I have a windows form in a project that has a calendar control on it.

When I try to change the year by using the spin button control the months are sometimes displayed with only the dates that are equal to or less than the date selected.

For example, I bring up the form and September 2010 is displayed with the current date of the 8th selected. I go to the spin button and change year to 2009. The control now displays only the 30, 31, 1, 2,3,4,5,6,7 and 8 (the 8 is cut off).  If I click on the control a few times all the days of the month are displayed.  

I was really hoping to scroll through the years with all dates displayed.

Is there a way to do this?

Avatar of johnnyg123
Flag of United States of America image


I have attached a word doc with screen prints
What kind of calendar control  your are using....
Datetime Picker does not do that...
Also there is amonth toolbox
What VS Version are u using?Is it a custom Control?
the standard monthcalendar control in vs 2005
Avatar of Zhaolai
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
1.Check Your SelectionRange in calendar Properties...
2.try to change the TitleForeColor, to Red just to see what happens...
Gotta love Microsoft