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

Binding to a date in an observable

3 Answers 87 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.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 04 Apr 2016, 06:12 PM

Is there no way to do something like this?

<calendar:RadCalendar selectedDate="{{ date}}"

or

<calendar:RadCalendar selectedDates="{{ dates }}"

I'm not seeing it in the docs?

3 Answers, 1 is accepted

Sort by
0
Sophi
Telerik team
answered on 06 Apr 2016, 02:48 PM
Hello Steve,

Yes, it is possible to bind selectedDate property to a variable.
Consider the following code lines.
<calendar:RadCalendar selectedDate="{{ date }}" />
Then in you model you should expose the actual variable that you are binding the property to.
this.set("date", yourDate);


Regards,
Sophi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 06 Apr 2016, 02:56 PM
Is this documented somewhere that I just might be missing?
0
Sophi
Telerik team
answered on 11 Apr 2016, 12:51 PM
Hi Steve,

No, this is not explicitly written in the documentation, however our documentation page is being regularly updated and if you have any suggestions or insights on what more should be included, please do not hesitate to share it with us.

Regards,
Sophi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Calendar
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Sophi
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or