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

Vertical Scrollbar Issue in Calendar Control

2 Answers 70 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
JanwalkarPooja
Top achievements
Rank 2
JanwalkarPooja asked on 19 Feb 2013, 01:55 PM
Hi Telerik,

In  Calendar control style,I am not getting properly Vertical Scrollbar.I want to know how much height is requried to set in scheduleView:RadScheduleView to its component area.OR what are the other things is required in <Scrollbar > tag .
In my scrollbar tag:(MPResource Page)
<ScrollBar x:Name="PART_VerticalScrollBar"
                                Grid.Row="1" Grid.Column="2"
                                Orientation="Vertical"
                                ViewportSize="{TemplateBinding ViewportHeight}"
                                Maximum="{TemplateBinding ExtentHeight}"
                                Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
                                SmallChange="{TemplateBinding VerticalSmallChange}"
                                LargeChange="{TemplateBinding VerticalLargeChange}"
                                telerik:StyleManager.Theme="{StaticResource Theme}"
                                Style="{StaticResource ScrollBarStyle}"/>

In scheduleView:RadScheduleView tag:(In CalendarPAge)
<scheduleView:RadScheduleView  Style="{StaticResource RadScheduleViewStyleHEADER}"                                             
                                                      Height="600"
                                                      Margin="20,0"
                                                      HorizontalContentAlignment="Left"
                                                      ActiveViewDefinitionIndex="{Binding Path=Criteria.ActiveIndex,
                                                      Mode=TwoWay,
                                                      Source={StaticResource CalendarViewModel}}"
                                                      AppointmentsSource="{Binding Appointments}"
                                                      BorderBrush="#9a9a9a"
                                                      BorderThickness="2,2,2,2"
                                                     
                                                      CurrentDate="{Binding Path=Criteria.CurrentDate,
                                                      Mode=TwoWay,
                                                      Source={StaticResource CalendarViewModel}}"
                                                      HorizontalScrollBarVisibility="Auto"
                                                    
                                                      SpecialSlotStyleSelector="{StaticResource SpecialSlotStyleSelectorKey}"
                                                      VerticalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible">



Please suggest the solution of this above given issue.
PFA of image of Calendar controlstyle.

2 Answers, 1 is accepted

Sort by
0
JanwalkarPooja
Top achievements
Rank 2
answered on 01 Mar 2013, 06:35 AM
Hi All,

This is urgent. Any help?
My Vertical scrollbar in Calendar control is not scrolling.
<ScrollBar x:Name="PART_HorizontalScrollBar" Minimum="0"  LargeChange="{TemplateBinding HorizontalLargeChange}" Maximum="{TemplateBinding ExtentWidth}" Orientation="Horizontal" SmallChange="{TemplateBinding HorizontalSmallChange}" telerikControls:StyleManager.Theme="{StaticResource Theme}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" ViewportSize="{TemplateBinding ViewportWidth}"/>
                        <ScrollBar x:Name="PART_VerticalScrollBar" Minimum="10"  LargeChange="{TemplateBinding VerticalLargeChange}"   Maximum="100" Orientation="Vertical" SmallChange="{TemplateBinding VerticalSmallChange}" telerikControls:StyleManager.Theme="{StaticResource Theme}" Visibility="Visible" ViewportSize="{TemplateBinding ViewportHeight}"/>

When click on small  arrow button on scrollbar ,its not responding.
Whats wrong with this code?
Please provide any solution as soon as possible for this issue,that would be appreciated.It is required in my Project.
Looking forward your reply ...

Regards,
Pooja
0
Abhi
Top achievements
Rank 1
answered on 19 Apr 2013, 10:31 AM
Hi,
       U got the solution......
       If yes pls attach the sample project of it.....
Tags
Calendar
Asked by
JanwalkarPooja
Top achievements
Rank 2
Answers by
JanwalkarPooja
Top achievements
Rank 2
Abhi
Top achievements
Rank 1
Share this question
or