This is a migrated thread and some comments may be shown as answers.

remove pop up calendar purple footer

1 Answer 50 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Patxi
Top achievements
Rank 1
Patxi asked on 10 Jun 2009, 04:49 PM
Hi,

I am trying to remove the bottom "footer" that appears in calendar pop up when I want to select a date using datetimepicker.

This footer is purple, it´s driving me crazy because I have no idea how to make it not show.

Do you know what property I have to change to make it no visible?

Thank you in advance.
 

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Vasilev
Telerik team
answered on 15 Jun 2009, 04:56 PM
Hi Patxi,

Thank you for writing.

The RadDateTimePicker does not support the removal of the resizing footer out-of-the-box. Nevertheless, you can set the the ResizeGrip element's Visibility property to Hidden and change the background color to your taste:
 
RadDateTimePickerCalendar dateTimePickerCalendar = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;  
if (dateTimePickerCalendar != null)  
{  
    dateTimePickerCalendar.PopupControl.Opened += delegate 
    {  
        dateTimePickerCalendar.PopupControl.ResizeGrip.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;  
        dateTimePickerCalendar.PopupControl.BackColor = Color.Brown;  
    };  

Hope this helps. Do not hesitate to contact me again if you have other questions.

 
Greetings,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Patxi
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or