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

Performance Problem with RadDatePicker

0 Answers 56 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Nagisa
Top achievements
Rank 1
Nagisa asked on 23 Mar 2012, 10:08 AM
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

No answers yet. Maybe you can help?

Tags
DateTimePicker
Asked by
Nagisa
Top achievements
Rank 1
Share this question
or