Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Calendar > Issue on setting DisplayDate

Not answered Issue on setting DisplayDate

Feed from this thread
  • Adrian Pay avatar

    Posted on Jul 13, 2011 (permalink)

    Hi,

    May I ask if I could pre-set a DateTime value via the DisplayDate on RadCalendar instead of the current local date?

    I have tried several methods but none of them is working
    (1) calendar.DisplayDate = 'my_wanted_date'
    (2) in XAML, I used {Binding DisplayDate} and in ViewModel, I return DisplayDate {get {return my_wanted_date};}

    Your help in this matter is much appreciated.

    Thanks,
    Adrian

    Reply

  • Ivo Ivo admin's avatar

    Posted on Jul 13, 2011 (permalink)

    Hello Adrian,

    I tried both things you mentioned, and they both worked for me. Please refer to the attached project for a sample implementation. Should you continue experiencing this issue, please provide us with a project where we can observe it.

    Hope this helps.

    Best wishes,
    Ivo
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Attached files

    Reply

  • Adrian Pay avatar

    Posted on Jul 13, 2011 (permalink)

    Hi Ivo,

    Thanks a lot for your prompt response. I have tried your attached project, and  the pre-setting of DisplayDate work fine for navigating the calendar to display Year and Month.

    However, Is it possible to pre-set the Today display on the calendar as well? If yes, please kindly help to elaborate on how to do it.

    Thanks.
    Adrian

    Reply

  • Ivo Ivo admin's avatar

    Posted on Jul 14, 2011 (permalink)

    Hello Adrian,

    This feature is not supported by the RadCalendar control. However, you can edit the DayTemplate of the RadCalendar and make some dates to look like special ones.

    Hope this helps.

    Greetings,
    Ivo
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Calendar > Issue on setting DisplayDate
Related resources for "Issue on setting DisplayDate"

Silverlight Calendar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]