Hi,
I've got a simple RadScheduleView which is displayed as a Week view only. I want to add a button to the Day Header which provides some custom "Lock" logic for that day. However, no matter what I do, the button in the header is always disabled.
Is there any way that I can achieve this?
My code:
<telerik:RadScheduleView AppointmentsSource="{Binding Items}">
<telerik:RadScheduleView.GroupHeaderContentTemplate>
<DataTemplate>
<Grid>
<TextBlock Text="{Binding Name, StringFormat=dd dddd}" HorizontalAlignment="Center" VerticalAlignment="Center"/
<Button Content="🔓" HorizontalAlignment="Right" IsEnabled="True" />
</Grid>
</DataTemplate>
</telerik:RadScheduleView.GroupHeaderContentTemplate>
<telerik:RadScheduleView.ViewDefinitions>
<telerik:WeekViewDefinition />
</telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>