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

Hide Calendar-Button in Navigationheader

1 Answer 89 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Sven Honert
Top achievements
Rank 1
Sven Honert asked on 14 May 2013, 05:07 PM
Hello,

how I can hide the Calendar-Button in the Navigationheader-Area. (v.2013.1.403.1050)
I would prefer a solution in C#... ;)


Thanks in advance,

Sven Honert

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 17 May 2013, 12:33 PM
Hello,

As we see you have posted another post with ID: 693359 about the same issue and we responded to you in that thread could we continue the discussion there?

I will post our response to this case in this forum post too in order for it to be available for the  community:

You need to modify the control template of RadScheduleView in order to remove the RadCalendar. Please look for NavigationHeader border and remove the following:
<telerik:RadDatePicker x:Name="PART_NavigationPicker" Style="{StaticResource NavigationDateTimePickerStyle}" SelectedValue="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=CurrentDate, Mode=TwoWay}" />

Another solution is to use the ChildrenOfType extension method and set Visibility of RadDatePicker to collapsed.

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Sven Honert
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or