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

ScheduleView - button to show there are more appointments to be shown.

3 Answers 27 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Salini
Top achievements
Rank 1
Salini asked on 04 Aug 2015, 02:08 PM

Hi, is there a way to add a button indication that there are more appointments to be shown.

Please see the attachment.

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 07 Aug 2015, 08:17 AM
Hi Salini,

RadScheduleView provides a similar to the desired by you behavior using the AppointmentNavigationButtons. These buttons navigate to the next and previous range of appointments. You can visualize them using the AppointmentNavigationButtonsVisibility property. 

To see the buttons in action please, check the following example from our online demos:
http://demos.telerik.com/silverlight/#ScheduleView/ScheduleViewConfigurator

Hopes this helps.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Salini
Top achievements
Rank 1
answered on 10 Aug 2015, 10:21 AM

Hi,

Previous and Next buttons are navigating to next range of dates.

Can I fix the range to same selected date or week and view the appointments that are not in focus or not in the visual part of the schedular on previous next button click. 

0
Nasko
Telerik team
answered on 12 Aug 2015, 07:19 AM
Hello Salini,

You can change the behavior of the AppointmentNavigationButtons. ​For that purpose you need to modify the default template of the ScheduleView control. The buttons could be found inside the ControlTemplate with x:Key="RadScheduleViewControlTemplate" and you could attach a custom command to them that will be executed as soon as the buttons are clicked:
<ControlTemplate x:Key="RadScheduleViewControlTemplate" TargetType="telerikScheduleView:RadScheduleView">
...
    <!--Change the command of the Button-->
    <telerik:RadButton CornerRadius="2 2 0 0" HorizontalContentAlignment="Stretch" Command="{x:Static telerikScheduleView:RadScheduleViewCommands.GoToNextAppointment}" FocusVisualStyle="{x:Null}">
        <Grid Width="160">
            <TextBlock telerik:LocalizationManager.ResourceKey="NextAppointment" HorizontalAlignment="Center" VerticalAlignment="Center"/>
            <TextBlock Text="▼" FontSize="8" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="8 0"/>
        </Grid>
    </telerik:RadButton
...
 </ControlTemplate>

You could use the Scrolling of the TimeRuler functionality inside the button's commands to scroll to a specific time or appointment inside RadScheduleView:
http://docs.telerik.com/devtools/silverlight/controls/radscheduleview/features/timeruler/scrolling

Hopes this helps.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Salini
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Salini
Top achievements
Rank 1
Share this question
or