Multiple select problem in radCalendar

5 posts, 1 answers
  1. Franco
    Franco avatar
    27 posts
    Member since:
    Apr 2010

    Posted 24 Mar 2011 Link to this post

    Good morning.
        I have a problem with a radCalendar control with its MultipleSelect property set to false. Today is March 24th. If I programmatically select a new date (tomorrow), for example by clicking a button:

    radCalendar1.SelectedDate = New Date(2011, 3, 25)

    when I display the calendar, both days are now selected (this is my problem). If I click on another day, the behavior is ok: the control correctly selects the day and deselects all the others.

    Thank you
    Gianfranco Pesenato
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 26 Mar 2011 Link to this post

    Hello Franco,

    The date, Today has a different color than the other dates, this however does not mean that today is always selected, please check the selected date property and you will see that today is not the selected date.

    Sadly, last time i checked, this behavior could be changed just by creating a new theme. You can create a new theme using the Visual Style Builder.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Franco
    Franco avatar
    27 posts
    Member since:
    Apr 2010

    Posted 28 Mar 2011 Link to this post

    Good morning.
        With the property MultipleSelect set to false, I see the following behaviors (with the default style, but no matter what style is applied):

    1. Start of the application: today is selected and its border is red. Ok. See Image1.png.
    2. Click on Button1 (Image2.png, you see the code, too): now two days are selected, both with red border. Not ok, for me.
    3. Image3.png is the desired behavior (I obtain it by clicking on the day): only one day is selected. The red border around today is good, anyway.

    Thank you
    Gianfranco Pesenato
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 28 Mar 2011 Link to this post

    Hello,

    In my view, this is related to the issue in this forum post. I will be reporting this and will follow up for you.
    Regards,
    Richard
  6. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 28 Mar 2011 Link to this post

    Franco,

    Perhaps I have misunderstood your issue. You can also set the focused date of the RadCalendar.

    this.radCalendar1.FocusedDate = some date

    Richard
Back to Top
UI for WinForms is Visual Studio 2017 Ready