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

Selection Start/End

1 Answer 103 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 29 Sep 2011, 08:53 PM
Hi,

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

Sort by
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:RadTimeBar x: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 >>

Tags
TimeBar
Asked by
Oliver
Top achievements
Rank 1
Answers by
Missing User
Share this question
or