Binding to a date in an observable

4 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 04 Apr Link to this post

    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?

  2. Sophi
    Admin
    Sophi avatar
    99 posts

    Posted 06 Apr Link to this post

    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
  3. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 06 Apr in reply to Sophi Link to this post

    Is this documented somewhere that I just might be missing?
  4. Sophi
    Admin
    Sophi avatar
    99 posts

    Posted 11 Apr Link to this post

    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
Back to Top