can anyone tell me if it's possible for the SelectionStart/SelectionEnd properties to have 1 day of range by default, of course afetr that, the user can have the possibility the expand this range?
Thank's
1 Answer, 1 is accepted
0
Missing User
answered on 04 Oct 2011, 02:08 PM
Hello Oliver,
In order to set an initial selection range you can use TimeBar.SelectionStart and TimeBar.SelectionEnd properties. For example, you can set a selection range of 1 day like that:
<telerik:RadTimeBarx:Name="timeBar"
PeriodStart="09/23/2011"
PeriodEnd="10/04/2011"
VisiblePeriodStart="09/26/2011"
VisiblePeriodEnd="10/02/2011"
SelectionStart="09/27/2011"
SelectionEnd="09/28/2011">
<telerik:RadTimeBar.Intervals>
<telerik:MonthInterval/>
<telerik:WeekInterval/>
<telerik:DayInterval/>
</telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar>
More information about TimeBar properties can be found here.
I hope this helps.
Regards,
Polina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>