Calendar - select first day of year

3 posts, 0 answers
  1. Olo
    Olo avatar
    28 posts
    Member since:
    Nov 2008

    Posted 31 Dec 2008 Link to this post

    Hi,
    how can I  automatically (using c#) set a date for first day (last) in the year?
    Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Dec 2008 Link to this post

    Hi Olo,

    I"m not sure if I get your question correctly, you can select the date from the code behind as shown below.

    CS:
    DateTime dt = new DateTime(2008, 12, 10); //Set the date 
    RadCalendar1.SelectedDate = dt; 

    Thanks,
    Shinu
  3. Olo
    Olo avatar
    28 posts
    Member since:
    Nov 2008

    Posted 31 Dec 2008 Link to this post

    Thx for reply.
Back to Top