Calendar Control RRS feed

  • Question

  • I am using Microsoft Visual Studio to develop reporting services reports.

    I have a new install of all the software to do this and I am finding the calendar control behaving in an odd way. When you select a date then click on the show report button it inverses the day month part. when you click on the show report button again it inverses it again.

    Any ideas where this is being driven from. The date and time setting for this machine are set correctly (Australia)

    Sunday, November 7, 2010 9:29 PM

All replies

  • I remember having some wierd behaviour with this control too.. That was why I designed my own calendar control.. 

    The calendar has a .SelectedDates property, and I believe that these dates will be "inversed" when shown.. Maybe, for whatever reason, a date range is being selected. In which case you could try clearing the SelectedDates property in your button click event

    Anyways, have you tried using a DateTimePicker control rather than the calendar?

    Monday, November 8, 2010 10:43 AM
  • Thanks for the response I believe I have this in the wrong forum.
    Wednesday, November 10, 2010 1:43 AM