This question is locked. New answers and comments are not allowed.
Hello, I have an issue with contents inside a radpane.
Code 1
Code 2
Both are pretty much same, except Code 1 has some controls (combox, botton) at the top part of the panel separated by stackpanel. Gridview will obtain data from DB through a webservice. The problem is Code 1 ran extremely slow. It seems that it is stackpanel related. In Code 2, there is no stackpanel and it runs pretty normal. I really want to add the top part on this panel. Can anyone help me on this? Are there any other ways to handle this situation?
Thanks a lot,
Nick
Code 1
| <telerikDocking:RadPane x:Name="Pane01" Header="ISHTA Committed"> |
| <telerikDocking:RadPane.Content> |
| <StackPanel x:Name="MainLayout"> |
| <StackPanel x:Name="TopFilter" Orientation="Horizontal" Height="45" Background="Ivory" VerticalAlignment="Center"> |
| <TextBlock x:Name="AreaLabel" Text="Area" Canvas.Top="20"/> |
| <telerikInput:RadComboBox x:Name="PeriodList" Width="75" Height="22" /> |
| <Button x:Name="FilterClick" Height="22" Width="75" Click="FilterClick_Click" Content="Filter" /> |
| </StackPanel> |
| <StackPanel x:Name="GridArea"> |
| <data:RadGridView x:Name="ViewCommitted" AutoGenerateColumns="False" /> |
| </StackPanel> |
| </StackPanel> |
| </telerikDocking:RadPane.Content> |
| </telerikDocking:RadPane> |
| <telerikDocking:RadPane x:Name="Pane01" Header="ISHTA Committed"> |
| <telerikDocking:RadPane.Content> |
| <data:RadGridView x:Name="ViewCommitted" AutoGenerateColumns="False" /> |
| </telerikDocking:RadPane.Content> |
| </telerikDocking:RadPane> |
Both are pretty much same, except Code 1 has some controls (combox, botton) at the top part of the panel separated by stackpanel. Gridview will obtain data from DB through a webservice. The problem is Code 1 ran extremely slow. It seems that it is stackpanel related. In Code 2, there is no stackpanel and it runs pretty normal. I really want to add the top part on this panel. Can anyone help me on this? Are there any other ways to handle this situation?
Thanks a lot,
Nick