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

Page crash when change the resolution

3 Answers 60 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Deepak Agarwal
Top achievements
Rank 1
Deepak Agarwal asked on 23 Jun 2010, 04:11 PM

hey i m using rad docking control and my application is running fine on 1024 X 768 but when we change the resolution page get crash and below error comes.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; msn OptimizedIE8;ENUS)
Timestamp: Wed, 23 Jun 2010 14:54:32 UTC

Message: Unhandled Error in Silverlight Application Layout cycle detected.  Layout could not complete.
Line: 1
Char: 1
Code: 0
Here is my code , can you please tell me the necessary changes so my docking control will run on every resolution.
i also change every Height="Auto" to with some specific value but does not get succeed.
please Help ME.

<navigation:Page x:Class="SCIClientApp.Views.MainePageContent"   
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"   
   xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"     
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    xmlns:view="clr-namespace:SCIClientApp.View" 
    xmlns:telerikDocking="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Docking" 
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"   
    xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:LabelResource="clr-namespace:SCIClientApp.Resources" 
     xmlns:validate="clr-namespace:SCIClientApp.Validation"     
    xmlns:behaviors="clr-namespace:SCIClientApp.UtilityClasses" 
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
    Loaded="MainPage_Loaded" 
      mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" 
           Title="">  
    <navigation:Page.Resources> 
        <DataTemplate x:Key="TitleTemplate">  
            <Grid> 
                <Grid.ColumnDefinitions> 
                    <ColumnDefinition Width="Auto" /> 
                    <ColumnDefinition /> 
                </Grid.ColumnDefinitions> 
                  
                    <TextBlock Text="Over Due Ticket List" Width="580"/>  
                    <telerik:RadButton x:Name="BtnHideOverDueGrid" Content="Hide Over Due Tickets" Height="20" Grid.Column="1" Width="150" Click="BtnHideOverDueGrid_Click"/>  
                  
           </Grid> 
        </DataTemplate> 
    </navigation:Page.Resources> 
    <Grid x:Name="LayoutRoot" > 
          
        <Grid.Resources> 
            <LabelResource:Labels x:Name="ResourceString" /> 
        </Grid.Resources> 
        <Grid.RowDefinitions> 
            <RowDefinition Height="Auto"/>  
            <RowDefinition Height="Auto" /> 
            <RowDefinition Height="*" /> 
        </Grid.RowDefinitions> 
 
        <!--********** Menu Bar Panel***********--> 
        <Grid Grid.Row="0" > 
            <telerikNavigation:RadMenu x:Name="radMenu" VerticalAlignment="Top" ClickToOpen="False" 
                     Foreground="White" > 
                <telerikNavigation:RadMenu.Background> 
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">  
                        <GradientStop Color="#FF1C1B1B" Offset="0"/>  
                        <GradientStop Color="#FF393333" Offset="0.256"/>  
                        <GradientStop Color="#FF514C4C" Offset="1"/>  
                    </LinearGradientBrush> 
                </telerikNavigation:RadMenu.Background> 
                <telerikNavigation:RadMenuItem   
                    Header="{Binding MenuItemTicket, Source={StaticResource ResourceString}}" > 
                    <telerikNavigation:RadMenuItem.Background> 
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">  
                            <GradientStop Color="#FF1C1B1B" Offset="0"/>  
                            <GradientStop Color="#FF393333" Offset="0.256"/>  
                            <GradientStop Color="#FF514C4C" Offset="1"/>  
                        </LinearGradientBrush> 
                    </telerikNavigation:RadMenuItem.Background> 
                    <telerikNavigation:RadMenuItem x:Name="btnRadMenuItemNewTicket" Click="NewTicket_Click"   
                    Header="{Binding MenuItemNew, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../RibbonBar/icons/new_ticket.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadSeparator /> 
                    <telerikNavigation:RadMenuItem x:Name="btnRadMenuItemUpdateTicket" Click="btnUpdateTicket_Click"   
                    Header="{Binding MenuItemUpdate, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../RibbonBar/icons/update_ticket.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem x:Name="btnRadMenuItemCopyTicket" Click="CopyTicket_Click"   
                    Header="{Binding MenuItemCopy, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../RibbonBar/icons/copy_ticket.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem x:Name="btnRadMenuItemMergeTicket"  Click="RadMenuMergeTicket_Click"   
                    Header="{Binding MenuItemMerge, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../ToolBar/mergeIcon.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadSeparator Foreground="#FF1A1A1A" /> 
                    <telerikNavigation:RadMenuItem   
                    Header="{Binding MenuItemQuickClose, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../ToolBar/Images/delete.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem   
                    Header="{Binding MenuItemPrint, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A" x:Name="btnRadMenuPrint">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="../RibbonBar/icons/Printer.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadSeparator Foreground="#FF1A1A1A" /> 
                    <telerikNavigation:RadMenuItem x:Name="btnMenuItemExit" Click="btnMenuItemExit_Click"   
                    Header="{Binding MenuItemExit, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                    </telerikNavigation:RadMenuItem> 
                </telerikNavigation:RadMenuItem> 
                <telerikNavigation:RadMenuItem Header="{Binding MenuItemEdit, Source={StaticResource ResourceString}}">  
                    <telerikNavigation:RadMenuItem  x:Name="btnRadMenuItemAsRead" Click="MenuItemAsRead_Click"   
                    Header="{Binding MenuItemAsRead, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="/Menu/Common/Images/24find.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem  x:Name="btnRadMenuItemAsUnread" Click="MenuItemAsUnread_Click"   
                    Header="{Binding MenuItemAsUnread, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="/Menu/Common/Images/24find.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                </telerikNavigation:RadMenuItem> 
 
                <telerikNavigation:RadMenuItem Header="{Binding MenuItemView, Source={StaticResource ResourceString}}">  
                    <telerikNavigation:RadMenuItem Header="{Binding MenuItemGoToTicket, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A" > 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem   
                        Header="{Binding MenuItemViewTicket, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A" Click="RadMenuItem_ViewTicket_Click" x:Name="MenuItemViewTicket">  
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadSeparator /> 
                    <telerikNavigation:RadMenuItem   
                    Header="{Binding MenuItemSeachMatchKey, Source={StaticResource ResourceString}}" Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="/Menu/Common/Images/2about.png" Width="16" Height="16"/>  
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                </telerikNavigation:RadMenuItem> 
                <telerikNavigation:RadMenuItem   
                Header="{Binding MenuItemSettings, Source={StaticResource ResourceString}}" > 
                    <telerikNavigation:RadMenuItem x:Name="UserOptions" Click="UserOptions_Click" 
                    Header="{Binding MenuItemUserOptions, Source={StaticResource ResourceString}}"   
                    Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Width="16" Height="16" Source="../RibbonBar/icons/otheroptions.png" /> 
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                    <telerikNavigation:RadMenuItem x:Name="ChangePassword" Click="ChangePassword_Click"   
                    Header="{Binding MenuChangePassword, Source={StaticResource ResourceString}}"   
                    Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Width="16" Height="16" Source="../RibbonBar/icons/Password.png" /> 
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                 <!-- <telerikNavigation:RadMenuItem   
                    Header="{Binding MenuItemFlagSetting, Source={StaticResource ResourceString}}"   
                    Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Source="/Menu/Common/Images/2about.png" /> 
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> --> 
                    <telerikNavigation:RadSeparator /> 
                    <telerikNavigation:RadMenuItem x:Name="AdvancedFilterSort" Click="AdvancedFilterSort_Click" 
                    Header="{Binding MenuItemAdvancedFilterandSort, Source={StaticResource ResourceString}}"   
                    Foreground="#FF1A1A1A">  
                        <telerikNavigation:RadMenuItem.Icon> 
                            <Image Width="16" Height="16" Source="../RibbonBar/icons/filter.png" /> 
                        </telerikNavigation:RadMenuItem.Icon> 
                    </telerikNavigation:RadMenuItem> 
                </telerikNavigation:RadMenuItem> 
            </telerikNavigation:RadMenu> 
        </Grid> 
 
 
        <!--********** Tool Bar***********--> 
        <Grid Grid.Row="1">  
            <telerikNavigation:RadToolBar  x:Name="mainToolBar">  
                <Button x:Name="btnToolBarNewTicket"  Tag="NewTicket" Click="NewTicket_Click"   
                ToolTipService.ToolTip="{Binding ToolBarNewTicket, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Source="../RibbonBar/icons/new_ticket.png" Width="16" Height="16" /> 
                </Button> 
                <Button x:Name="btnToolBarUpdateTicket"  Tag="Update" Click="btnUpdateTicket_Click"   
                ToolTipService.ToolTip="{Binding ToolBarUpdateTicket, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Source="../RibbonBar/icons/update_ticket.png" Width="16" Height="16" /> 
                </Button> 
               <Button x:Name="btnToolBarCopy"  Tag="Copy"   
                    Click="btnToolBarCopy_Click"                      
                    ToolTipService.ToolTip="{Binding ToolBarCopyTicket, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Source="../RibbonBar/icons/copy_ticket.png" Width="16" Height="16"/>  
                </Button> 
                <Button x:Name="btnToolBarMergeTicket" Click="btnToolBarMergeTicket_Click"  Tag="Merge" ToolTipService.ToolTip="{Binding ToolBarMergeTicket, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Source="../ToolBar/mergeIcon.png" Width="16" Height="16"/>  
                </Button> 
                <telerikNavigation:RadToolBarSeparator /> 
               <!-- <Button Tag="QuickClose"   
                    ToolTipService.ToolTip="{Binding ToolBarQuickClose, Source={StaticResource ResourceString}}" > 
                    <Image Width="16" Height="16" Source="../ToolBar/Images/delete.png"/>  
                </Button> --> 
                <Button  Tag="Print" ToolTipService.ToolTip="{Binding ToolBarPrint, Source={StaticResource ResourceString}}" x:Name="BtnPrinter" ClickMode="Press">  
                    <Image Width="16" Height="16" Source="../RibbonBar/icons/Printer.png"/>  
                </Button> 
                <telerikNavigation:RadToolBarSeparator /> 
                <!-- User options--> 
                <Button x:Name="btnUserOptions" Tag="UserOptions" ToolTipService.ToolTip="{Binding ToolBarUserOptions, Source={StaticResource ResourceString}}" 
                      Click="btnUserOptions_Click" ClickMode="Press" > 
                    <StackPanel Orientation="Horizontal">  
                        <Image Width="16" Height="16" Source="../RibbonBar/icons/otheroptions.png"/>  
                    </StackPanel> 
                </Button> 
                <Button x:Name="btnChangePassword" Tag="ChangePassword"   
                ToolTipService.ToolTip="{Binding ToolBarChangePassword, Source={StaticResource ResourceString}}" 
                      Click="btnChangePassword_Click" ClickMode="Press">  
                    <StackPanel Orientation="Horizontal">  
                        <Image Width="16" Height="16" Source="../RibbonBar/icons/Password.png"/>  
                    </StackPanel> 
                </Button> 
                <telerik:RadDropDownButton x:Name="ReasonMenuDropDown" Padding="5" VerticalAlignment="Center">  
                    <telerik:RadDropDownButton.Content> 
                        <StackPanel Orientation="Horizontal">  
                            <Image Width="16" Height="16" ToolTipService.ToolTip="Quick Close" Source="../ToolBar/Images/delete.png"/>  
                        </StackPanel> 
                    </telerik:RadDropDownButton.Content> 
                </telerik:RadDropDownButton> 
                <telerik:RadDropDownButton x:Name="MenuDropDown" Padding="5" VerticalAlignment="Center" > 
                    <telerik:RadDropDownButton.Content> 
                        <StackPanel Orientation="Horizontal">  
                            <Image Width="16" Height="16" ToolTipService.ToolTip="Flags" Source="../RibbonBar/icons/Circle-blue.png"/>  
                        </StackPanel> 
                    </telerik:RadDropDownButton.Content> 
                </telerik:RadDropDownButton> 
                <Button Tag="Filter" Click="btnAdvancedSettings_Click" 
                ToolTipService.ToolTip="{Binding ToolBarAdvanced, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <StackPanel Orientation="Horizontal">  
                        <Image Width="16" Height="16" Source="../RibbonBar/icons/filter.png"/>  
                    </StackPanel> 
                </Button> 
                <telerikNavigation:RadToolBarSeparator /> 
                <Button Tag="Refresh" x:Name="btnRefresh" Click="btnRefresh_Click" ToolTipService.ToolTip="{Binding ToolBarRefresh, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <StackPanel Orientation="Horizontal">  
                        <Image Width="16" Height="16" Source="../RibbonBar/icons/repeat.png"/>  
                    </StackPanel> 
                </Button> 
                <telerikNavigation:RadToolBarSeparator /> 
                <Button Tag="First" x:Name="btnFirst" Click="btnFirst_Click" ToolTipService.ToolTip="{Binding First, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/first.png" /> 
                </Button> 
                <Button Tag="Previous" x:Name="btnPrevious" Click="btnPrevious_Click"  ToolTipService.ToolTip="{Binding Previous, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/pre.png" /> 
                </Button> 
                <TextBox x:Name="txtPager" Width="40" Height="auto" Text="{Binding NumericAndMaxValueValidation, Mode=TwoWay, ValidatesOnExceptions=True}" TextChanged="txtPager_TextChanged" HorizontalContentAlignment="Center" /> 
                <TextBox x:Name="txtTotalPages"  IsReadOnly="True" Height="auto" HorizontalContentAlignment="Center" IsEnabled="False" Width="40" /> 
                <Button Tag="Next" x:Name="btnNext" Click="btnNext_Click"   
                ToolTipService.ToolTip="{Binding Next, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/next.png" /> 
                </Button> 
                <Button Tag="Last" x:Name="btnLast" Click="btnLast_Click"   
                ToolTipService.ToolTip="{Binding Last, Source={StaticResource ResourceString}}" ClickMode="Press">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/last.png" /> 
                </Button> 
                <!--<Button Tag="Test" x:Name="btnTestSetting" Click="btnTestSetting_Click" 
                ToolTipService.ToolTip="{Binding Last, Source={StaticResource ResourceString}}">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/UserSetting.PNG" /> 
                </Button>--> 
                <!--<Button Tag="Test" x:Name="btnTest1Setting" Click="btnTest1Setting_Click" 
                ToolTipService.ToolTip="{Binding Last, Source={StaticResource ResourceString}}">  
                    <Image Width="16" Height="16" Source="../Images/PagerImages/UserSetting.PNG" /> 
                </Button>--> 
            </telerikNavigation:RadToolBar> 
        </Grid> 
 
        <!--********** Docking Panel Section***********--> 
          
        <Grid Grid.Row="2" x:Name="GridForRadDocking">  
              
            <telerikDocking:RadDocking x:Name="Docking" telerik:StyleManager.Theme="Office_Blue">  
                <telerikDocking:RadDocking.DocumentHost> 
                    <telerikDocking:RadSplitContainer Height="Auto" > 
                        <telerikDocking:RadPaneGroup x:Name="DocumentGroup" > 
                            <!--PreViewTicket--> 
                            <telerikDocking:RadDocumentPane CanFloat="False" CanDockInDocumentHost="True"   
                            CanUserClose="False"   
                            Title="{Binding RadPaneTicketDetails, Source={StaticResource ResourceString}}" 
                            Header="{Binding RadPaneTicketPreview, Source={StaticResource ResourceString}}"   
                            telerikDocking:RadDocking.SerializationTag="DocumentPane">  
                                <ScrollViewer  Height="Auto" Width="Auto"   
                                x:Name="ScrollVerticalSV" HorizontalScrollBarVisibility="Auto" 
                                VerticalScrollBarVisibility="Auto">                                      
                                    <!--<view:ViewTicket x:Name="UCViewTicket"/>--> 
                                    <Grid x:Name="LayOutGridForViewTicket">                                          
                                    </Grid> 
                                </ScrollViewer> 
                            </telerikDocking:RadDocumentPane> 
 
                        </telerikDocking:RadPaneGroup> 
                    </telerikDocking:RadSplitContainer> 
                      
                </telerikDocking:RadDocking.DocumentHost> 
                  
                <!--Group and Filter List--> 
                <telerikDocking:RadSplitContainer InitialPosition="DockedLeft">  
                    <telerikDocking:RadPaneGroup> 
                        <telerikDocking:RadPane Header="{Binding RadPaneGroups, Source={StaticResource ResourceString}}" CanFloat="False" CanDockInDocumentHost="False"   
                                                            CanUserClose="False" 
                            telerikDocking:RadDocking.SerializationTag="PaneLeft1" x:Name="LeftPanelBarHeader">  
                            <Grid > 
 
                                <Grid.RowDefinitions> 
                                    <!--<RowDefinition Height="25" />--> 
                                    <RowDefinition Height="*" /> 
                                </Grid.RowDefinitions> 
                                <view:LeftPanelBar x:Name="LeftPanelBar" Grid.Row="0"/>  
 
                            </Grid> 
                        </telerikDocking:RadPane> 
                    </telerikDocking:RadPaneGroup> 
                </telerikDocking:RadSplitContainer> 
                <telerikDocking:RadSplitContainer InitialPosition="DockedTop" Height="Auto" x:Name="TicketRadContainer" MaxHeight="320" MinHeight="200">  
                    <telerikDocking:RadPaneGroup> 
                        <telerikDocking:RadPane   
                            Header="{Binding RadPaneTicketList, Source={StaticResource ResourceString}}"   
                            CanFloat="False" CanDockInDocumentHost="False"  CanUserPin="False"   
                            CanUserClose="False"   
                            telerikDocking:RadDocking.SerializationTag="PaneTop1" Height="Auto">  
                            <Grid x:Name="LayoutGridForTicketList">  
                                <view:TicketListGrid x:Name="UCTicketListGrid" Height="Auto" Width="Auto" /> 
                            </Grid> 
                        </telerikDocking:RadPane> 
                    </telerikDocking:RadPaneGroup> 
                </telerikDocking:RadSplitContainer> 
                <telerikDocking:RadSplitContainer InitialPosition="DockedTop" MinHeight="180" x:Name="ODRadSplitContainer" Height="180">  
                    <telerikDocking:RadPaneGroup> 
                        <telerikDocking:RadPane                               
                            CanFloat="False" CanDockInDocumentHost="False"  CanUserPin="False"   
                            CanUserClose="False" Header="Header" 
                            telerikDocking:RadDocking.SerializationTag="PaneTop2" TitleTemplate="{StaticResource TitleTemplate}" Visibility="Visible" x:Name="OverDueRadPane">  
                              
                            <Grid x:Name="LayoutGridForTicketListOD">  
                                <view:TicketListGrid x:Name="ODTicketListGrid" Height="Auto" Width="Auto" Grid.Row="1"/>  
                            </Grid> 
                        </telerikDocking:RadPane> 
                         
                    </telerikDocking:RadPaneGroup> 
                </telerikDocking:RadSplitContainer> 
                <telerikDocking:RadSplitContainer InitialPosition="DockedTop" Height="50" x:Name="ODRadSplitContainerBanner" Visibility="Collapsed">  
                    <telerikDocking:RadPaneGroup Height="Auto">  
                        <telerikDocking:RadPane                               
                            CanFloat="False" CanDockInDocumentHost="False"  CanUserPin="False"   
                            CanUserClose="False" 
                            telerikDocking:RadDocking.SerializationTag="PaneTop3" Height="0" Title="">  
 
                            <Grid> 
                                <Button x:Name="HIddenOverDueTicketBanner" Content="There are tickets that are overdue or need attention -- click here" Foreground="Red" Click="HIddenOverDueTicketBanner_Click" Height="25" FontSize="14"/>  
                            </Grid> 
                        </telerikDocking:RadPane> 
                    </telerikDocking:RadPaneGroup> 
                </telerikDocking:RadSplitContainer> 
 
            </telerikDocking:RadDocking> 
            <telerikNavigation:RadWindow x:Name="GOTOWindow" Header="Go To Ticket" 
                            WindowStartupLocation="CenterOwner" TopOffset="-50" CanClose="True" 
                            MinWidth="200"  Height="Auto" ResizeMode="NoResize" Visibility="Collapsed">  
                <Grid  VerticalAlignment="Bottom">  
                    <Grid.RowDefinitions> 
                        <RowDefinition Height="auto"/>  
                        <RowDefinition Height="auto"/>  
                          
                    </Grid.RowDefinitions> 
                      
 
                    <TextBlock x:Name="txtMessage" Grid.Row="0" Margin="10 10 10 10" Text="Ticket #" HorizontalAlignment="Left"/>  
                    <TextBox x:Name="txtGoToTicketNo" Grid.Row="0" Width="100"   
                                    HorizontalAlignment="Left" 
                                     Margin="100 0 10 0" Height="20"/>  
                    <Button x:Name="BtnGotoOk" Grid.Row="2" Width="70"   
                                    HorizontalAlignment="Left"   
                                    Content="OK"  Margin="100 0 0 10" Click="BtnGotoOk_Click"/>  
                </Grid> 
            </telerikNavigation:RadWindow> 
        </Grid> 
          
    </Grid> 
</navigation:Page> 

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 25 Jun 2010, 03:57 PM
Hello Deepak Agarwal,

Thank you for contacting us.

I created a sample project and tried changing resolution and it seems everything works fine. If you could give us a sample running project that illustrates the problem it will be very helpful.

I will be glad to assist you further.

Regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Deepak Agarwal
Top achievements
Rank 1
answered on 28 Jun 2010, 12:09 PM
if I’m using my laptop monitor (1440x900) or if I’m connected to my office docking station (1920x1080) or my home docking station (1280x1024). its get crash. Are you tried to change resolution up to this limit?
0
George
Telerik team
answered on 01 Jul 2010, 05:00 PM
Hello Deepak Agarwal,

Thank you for getting back to us.

I tried to change the resolution to the one you mentioned and there were no crashes. 
If you could give us a sample running project that illustrates this problem it would be very helpful.

We are aware about the Layout Cycle Detected error with RadDocking. You should not use the Docking control in a layout panel that measures it with the available size with infinite height or width. It will not always crash, but it will not be working correctly and it may cause a layout cycle. This is not a bug - it is by design as we decided that it is not reasonable to let the Docking control resize itself.

You can try to work this around by changing the Height of the Grid Row where RadDocking is positioned. The height should be a number. So, please change the Height from "*" to a number and test if this works.

Please let me know if this information helps you. I will be glad to assist you further.

Kind regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
Deepak Agarwal
Top achievements
Rank 1
Answers by
George
Telerik team
Deepak Agarwal
Top achievements
Rank 1
Share this question
or