Performance Problem with RadDatePicker

1 posts, 0 answers
  1. Nagisa
    Nagisa avatar
    14 posts
    Member since:
    Nov 2011

    Posted 23 Mar 2012 Link to this post

    Hi,

    I have a performance problem with RadDatePicker.
    The date picker‘s style is modified to display 3 months.
    And when I open panel of calendar or click next month button on calendar panel,
    it will take a long time to show the panel about 3~5s.

    The version of Silverlight is 4.
    Blow is the spec. of test PC:
    CPU:Inter Dual 2core 1GHz
    Memory:1GB

    I used PC that spec is higher(inter i7, memory:8GB) to test, it also froze for a little time.

    I want to know the reason that why does it take long time to show calendar panel.
    And is there any way to prompt performance when calendar panel is opening.

    Blow is my Style:
    <Style TargetType="telerikInput:RadCalendar" BasedOn="{StaticResource RadCalendarDefaultStyleKey}"
           x:Key="MultipleMonthRadCalendar">
        <Setter Property="Columns" Value="3" />    // modified
        <Setter Property="ViewsHeaderVisibility" Value="Visible" />  // modified
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerikInput:RadCalendar">
                    <Grid>
     
                        ...
                                    <Button x:Name="Header" Grid.Column="1" HorizontalAlignment="Left" Margin="55,0,0,0"
                                            Style="{StaticResource CalendarHeaderButton}" />  // modified
                        ...
     
                                </Grid>
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    The style is modified with 3 parts above.


    Best ragards
Back to Top