This is a migrated thread and some comments may be shown as answers.

Select start and end date

3 Answers 210 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Long
Top achievements
Rank 1
Long asked on 30 Jan 2008, 01:54 PM
Hi everybody.

I'm using the gravitybox schedule tool to make appointments, and it's linked to the radCalendar1. But I have a problem regarding selecting the start and end date. I've tried the FocusedDate, SelectedDate properties. The focuseddate doesn't work as I want to, and selectedDate only shows the date 01/01/1980.

Can anybody assist me, how to retrieve the start and end date when I select in the radCalender?

I've also used the Calendar from dotnetbar. It has properties such as selectionStart and selectionEnd, and it works 100%.

Best regards

Kim

3 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 31 Jan 2008, 06:17 PM
Hello Long,

Thank you for writing.

SelectedDate is a property defined to get or set the currently selected date in RadCalendar. If you don't have any selected dates it will return you the min date.

We have a SelectedDates collection which you can use to get the selected dates in RadCalendar. For more information about RadCalendar's public API please take a look at the help topics on: http://www.telerik.com/help/winforms/Q3%5F2007/?RadCalCustomzingSelectingDates.html

On a side note, I see you are using Q2 2007 SP1. We have fixed some issues regarding the selection in RadCalendar since then. Please, try the latest Q3 version of this control and let us know if you find any problems.

 
Kind regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Vishwanath
Top achievements
Rank 1
answered on 27 May 2010, 07:16 AM
Hello Everybody,

I am using the RadCalendar.Net2.dll's RadDatePicker control. The radDateDynamicControl.SelectedDate is always #1/1/1980#  when the user has not entered any value for the control. Kindly suggest what can be done . I want this to be NULL if no data is picked.

Kind regards
Vish
0
Dobry Zranchev
Telerik team
answered on 28 May 2010, 02:49 PM
Hello Vishwanath,

Please find the answer to your question in your support ticket concerning the same topic.

All the best,
Dobry Zranchev
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Long
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Vishwanath
Top achievements
Rank 1
Dobry Zranchev
Telerik team
Share this question
or