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

change the calender value

2 Answers 60 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tariq
Top achievements
Rank 2
Tariq asked on 13 Jun 2011, 02:35 PM
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 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 13 Jun 2011, 02:40 PM
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>>
0
Tariq
Top achievements
Rank 2
answered on 13 Jun 2011, 02:46 PM
thanks! and thanks for the fast response :)
Tags
Calendar
Asked by
Tariq
Top achievements
Rank 2
Answers by
Valentin.Stoychev
Telerik team
Tariq
Top achievements
Rank 2
Share this question
or