Calendar How to via code select only 1 date?

2 posts, 1 answers
  1. Johnny
    Johnny avatar
    86 posts
    Member since:
    Dec 2010

    Posted 21 Sep 2011 Link to this post

    Hi! Im using Q1 2011 with VB.Net 2010
    I had some issue here where will like to get the solution.
    Im using Telerik Calendar where i set the multipleselect = False
    mean always only 1 date is selected.

    As default when run the application. SelectedDate = Today (21/09/2011)
    then i select other day(23/09/2011). From calendar i always see 23/09/11 is selected.

    Now i want a via code. which i will clear the selected date 23/09/2011 and via code selected date = 29/09/2011

    How to do it?

    Other issue:
    By default my calendar selecteddate = Today(21/09/2011) and i get the value by via code and set to a label.
    Now i select again the same date the value from via code, it become 01/01/1900. The correct value suppose to be 21/09/2011

    The code i use to get the selected date :

    msgbox(RadCalendar1.SelectedDate.Date)

    Hope to get the answer as soon as posible cause this is urgent....
    Thank!

    Regards
    Johnny


  2. Answer
    Johnny
    Johnny avatar
    86 posts
    Member since:
    Dec 2010

    Posted 21 Sep 2011 Link to this post

    Already found the answer for my question...

    radCalendar1.FocusedDate = #9/9/2011#
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top