RadDatePicker - Highlight today's date

4 posts, 1 answers
  1. Monika Lather
    Monika Lather avatar
    8 posts
    Member since:
    Jan 2010

    Posted 18 Jan 2010 Link to this post

    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!
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Jan 2010 Link to this post

    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.
  3. Monika Lather
    Monika Lather avatar
    8 posts
    Member since:
    Jan 2010

    Posted 19 Jan 2010 Link to this post

    Thanks!
  4. Ram
    Ram avatar
    97 posts
    Member since:
    Jun 2011

    Posted 15 Jul 2011 Link to this post

    Hi Shinu Greetings.
    Can I place the calender image inside the textbox  like as in my attached picture.
Back to Top