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

RadDatePicker - Highlight today's date

3 Answers 1032 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Monika Lather
Top achievements
Rank 1
Monika Lather asked on 18 Jan 2010, 11:05 PM
Hi,
I want to highlight the current date in a datepicker control. I have tried setting it programmatically but it doesnot work.
How can I get the datepicker to highlight the date?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 19 Jan 2010, 05:10 AM
Hi Monika,

Add SpecialDays as shown below in order to highlight current day in calendar popup of RadDateTimePiker.

aspx:
 
<telerik:RadDatePicker ID="RadDatePicker11" Skin="Vista" runat="server"
    <Calendar runat="server"
        <SpecialDays> 
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Green"
            </telerik:RadCalendarDay> 
        </SpecialDays> 
    </Calendar> 
</telerik:RadDatePicker> 
And here is the demo: Today's Date

-Shinu.
0
Monika Lather
Top achievements
Rank 1
answered on 19 Jan 2010, 09:39 PM
Thanks!
0
Ram
Top achievements
Rank 1
answered on 15 Jul 2011, 03:23 PM
Hi Shinu Greetings.
Can I place the calender image inside the textbox  like as in my attached picture.
Tags
Calendar
Asked by
Monika Lather
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Monika Lather
Top achievements
Rank 1
Ram
Top achievements
Rank 1
Share this question
or