Declined
Last Updated: 31 May 2014 14:34 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 10 Oct 2013 08:46
Category: Editors
Type: Bug Report
1
FIX. - RadDateTimePicker's drop down calendar's footer is not displayed correctly in Windows7 theme
To reproduce:
-add RadDateTimePicker and apply Windows7 theme
-enable calendar footer
-when opening the drop down calendar, the date part in the footer is not displayed correctly

Workaround:
 RadDateTimePickerCalendar calendarBehavior = 
     this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
 RadCalendar calendar = calendarBehavior.Calendar as RadCalendar;
 calendar.ShowFooter = true;
 calendarBehavior.PopupControl.PopupOpening += PopupControl_PopupOpening;

private void PopupControl_PopupOpening(object sender, CancelEventArgs args)
{
    RadDateTimePickerDropDown popup = sender as RadDateTimePickerDropDown;
    if (popup != null)
    {
        popup.Height = 250;
        popup.Width = 280;
    }
}
0 comments