change the calender value

3 posts, 0 answers
  1. Tareq
    Tareq avatar
    36 posts
    Member since:
    Jun 2011

    Posted 13 Jun 2011 Link to this post

    hi, i am new to telerik tools, and am trying to change the value of the calender in code.

    radCalendar1.IsTodayHighlighted = false;
    radCalendar1.SelectedValue =new DateTime(2011, 9, 1);
     
    this code will change the value of the calender, but it wont view it on the calender. i have to scroll to the september month so i can see the change.

    is there anyway to change the view to scroll to the new value?

    thanks,
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 13 Jun 2011 Link to this post

    Hello Tareq,

    Yes - you should use the DisplayDate property of RadCalendar to do this. More info is available in this help article:
    http://www.telerik.com/help/windows-phone/getting_started.html

    Please let us know if you have any other questions.

    Best wishes,
    Valentin.Stoychev
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Tareq
    Tareq avatar
    36 posts
    Member since:
    Jun 2011

    Posted 13 Jun 2011 Link to this post

    thanks! and thanks for the fast response :)
Back to Top