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

Raddatepicker calendar select today's date

1 Answer 97 Views
Input
This is a migrated thread and some comments may be shown as answers.
Guido Neele
Top achievements
Rank 1
Guido Neele asked on 10 Sep 2012, 08:41 AM
Hi!

I use a raddatepicker on my page. If the user opens the calendar, I want that today's date is highlighted . I don't want to set the date of the raddatepicker itself, only the date in the calendar. Is this possible? I've tried the focuseddate and selecteddate, but nothing changed.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Sep 2012, 09:28 AM
Hello,

Try the following code snippet to achieve your scenario.

ASPX:
<telerik:RadDatePicker ID="Date1" runat="server">
    <Calendar>
       <SpecialDays>
           <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Red" />
       </SpecialDays>
    </Calendar>
</telerik:RadDatePicker>

Hope this helps.

Regards,
Princy.
Tags
Input
Asked by
Guido Neele
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or