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

Specifying Data Range

2 Answers 75 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 22 Jan 2009, 07:59 PM
Is there any way that you can specify a range of dates to display within an instance of the RadCalendar?  Basically, I don't want to show an automatically calculated range of days, based on a focus date and the number of selected weeks to display.  I want a very specific date range to show in the calendar ( ie. 18 of Jan 2009 - 14 of Feb 2009 inclusive).

Thanks,
Ryan

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Jan 2009, 07:55 AM
Hello Ryan,

I am not really sure of what is your requirement, but from my understanding i suppose you want to set only a range of dates on your calendar selectable. If thats the case, you can set the RangeMinDate and RangeMaxDate to the required dates as shown below:
aspx:
 <telerik:RadCalendar ID="RadCalendar1" RangeMinDate="01/18/2009" RangeMaxDate="02/14/2009" runat="server" Font-Names="Arial, Verdana, Tahoma"      ForeColor="Black" Style="border-color: #ececec">  
 </telerik:RadCalendar>  

Hope this helps...
Princy.

0
Ryan
Top achievements
Rank 1
answered on 23 Jan 2009, 02:24 PM
Hey Princy,

Thanks for your quick response.  What I'm trying to do is display a certain range of weeks, not set the selectivity on a certain range of weeks.  If any dates other than those between 18 of Jan 2008 - 14 of Feb 2009 show up than I have not met my requirements.  MaxRangeDate and MinRangeDate will not configure the visible dates, just whether they can be selected or not, so those properties will not help me.

Any further insight you can provide would be helpful.

Thanks,
Ryan
Tags
Calendar
Asked by
Ryan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Ryan
Top achievements
Rank 1
Share this question
or