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
220
UltraMonthView Doesn't highlight active day until user clicks on it
posted

I've got my form setup to default to a specific date so I set my calendarInfo.ActiveDay = someDate;

The dayview properly jumps to the correct date but the month view doesn't highlight the current date.  If I click on the month view, it will highlight the day I clicked on and from that point on when I set the calendarInfo.ActiveDay property the correct day is highligted in the month view control.

 

How do I get the active day highligted without the user having to click on the month view first?

 

Parents
  • 69832
    Offline posted

    I tried setting the ActiveDay to a date that was not currently visible in the control, and when the button was clicked, the control correctly brought that day into view, so I am not clear on what you mean by, "...dayview properly jumps to the correct date...", i.e., if this means that MonthViewSingle does not do the same thing. Also, please clarify what you mean by "highlight"; by default, the ActiveDay is visually depicted with a focus rectangle, but this is only displayed when the control is focused. Note that UltraCalendarLook exposes an ActiveDayAppearance, which you can use to give the ActiveDay a specific color.

Reply Children