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

Style DatePopupButton of RadDatePicker to look like default button

1 Answer 128 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 09 Jul 2015, 09:44 AM

Hello,
I'm using a RadDatePicker with 'Default' Skin.
It currently looks like this:

Attachment: DatePickerControl Alt.PNG

Is there a simple way (without creating custom skins, or button
image) to style the DatePopupButton to look like a normal RadButton with
icon, so the result would be something like this:

Attachment: DatePickerControl Neu.PNG

I tried this:

public class DatePickerControl : RadDatePicker
{
    protected override void OnChildrenCreated()
    {
        base.OnChildrenCreated();
        /*
        ..
         */
        DateInput.CssClass = "RadButton_Default";
        /*
         ..
         */
    }
 
}

but no success.
Please help.

Thank you,
Alex

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 14 Jul 2015, 07:36 AM
Hello Alexander,

Try using the new RenderMode of the picker:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server" Skin="Windows7" RenderMode="Lightweight">

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DatePicker
Asked by
Alexander
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or