URGENT!!!!!!! radCalendar not deselect dates correctly.

2 posts, 0 answers
  1. Mike
    Mike avatar
    14 posts
    Member since:
    Mar 2008

    Posted 08 May 2008 Link to this post

    Using Q1 2008 release.

    I am experiencing a problem with the radCalendar control in that when I want to unselect a selected date, the only way that I can get it to unselect is to click on the one i want to remove and then click on any other date, which effectivley selects the new date, and is not preferred.

    I want to be able to simply unselect a date by clicking on it, and i do NOT expect to have to write code to do it. It does not work in single select mode or multiselect mode.

    to see an example of what i am describing, you can look no further than the Telerik control demo project that is installed with the product.

    From the Demo app choose RadCalender, and the Selection Demo. With Allow Multiple Select enabled, click a few dates. Then simply try to unselect one of the dates that you previously selected. I tried single click, double click, ctrl click, right click, click + del, click + backspace.. etc. The only way to deselect a date is to click the date and then click some other date.

    I think i am going to start charging telerik for all of the wasted time i have spent trying to figure out workarounds to these controls. Please BUGTEST the controls before releasing ANY new control sets. Get the products stable first, then add new features second, so that paying customers who have project deadlines can actually use the controls for their intended purposes rather than having to submit forum entries to hope that someone has a hack solution to a problem that other control sets do by DEFAULT!!!!!

  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 09 May 2008 Link to this post

    Hi Mike,

    I do not think that the described behavior is a bug but a feature. We have a state in RadCalendar which is called the focused date. The focused date is the date where the focus is on. For example, when you click on a cell, its selection state is toggled and that cell gets focused. The focused date state is represented visually like the selectedDate and this is why you probably think there is a problem here.

    Please try the following:

    1. Select few dates.
    2. Click on some of the selected date to unselect it.
    A single click toggles the selection state when the multiple selection is allowed. Until you are on the unselected date, move around with arrows and you will see that you are actually moving the focused date starting from the position where you have clicked before to unselect the date.

    You can also check the selected dates collection of RadCalendar to see that there is no such selected date. To access this collection, use the SelectedDates property of RadCalendar. You may find the SelectedDate and FocusedDate properties helpful in this case.

    Please don't hesitate to write me back if you need additional information. 

    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top