set connectionid Exception in XAML

Jul 5, 2016 at 5:33 AM
HI All,


Iam using AvalonDock, in my project. While running the application its showing exception as "Set Connection Id Threw an Exception" Can any one help me for this.
<Page x:Class="ReportEdit"
      xmlns:ART="clr-namespace:ART" 
      xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:avalon="clr-namespace:Xceed;assembly=Xceed.Wpf.AvalonDock"
      xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"
      Title="Report Edit" >
    <DockPanel LastChildFill="True" x:Name="LookupDockPanel">
        <ART:ErrorMessageBar DockPanel.Dock="Top" />
        <DockPanel x:Name="ButtonBar" Style="{DynamicResource ButtonBarStyle}" Height="35" >
            <Button x:Name="CloseButton" Content="Close" Style="{DynamicResource ButtonStyle}" DockPanel.Dock="Right" HorizontalAlignment="Right"  />
            <Button x:Name="SaveButton" Content="Save" Style="{DynamicResource ButtonStyle}" DockPanel.Dock="Right" HorizontalAlignment="Right"   />
            <Button x:Name="SearchButton" Content="Transmit" Style="{DynamicResource ButtonStyle}" DockPanel.Dock="Right" HorizontalAlignment="Right" Click="SearchButton_Click"/>
            <Button x:Name="GenerateEditButton" Content="Re-Generate &amp; Edit" Style="{DynamicResource ButtonStyle}" DockPanel.Dock="Right" HorizontalAlignment="Right"   />
            <Button x:Name="SaveTestButton" Content="Update Result" Style="{DynamicResource ButtonStyle}" DockPanel.Dock="Right" HorizontalAlignment="Right"   />
        </DockPanel>
        <telerik:RadExpander x:Name="expRecipients"  Margin="2" Style="{DynamicResource ExpanderStyle}" DockPanel.Dock="Top" Header="Recipients" >
            <telerik:RadExpander.Content>
                <Border Padding="5px" Style="{DynamicResource VPSBorderStyle}" >
                    <Grid Grid.Column="3">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1"   />
                            <RowDefinition Height="22"/>
                            <RowDefinition Height="22"/>
                            <RowDefinition Height="22"/>
                            <RowDefinition Height="22"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="60"/>
                            <ColumnDefinition Width="auto" MinWidth="334" />
                            <ColumnDefinition Width="auto"/>
                        </Grid.ColumnDefinitions>
                        <Button x:Name="btnFrom"  Content="From" Grid.Row="0" Grid.Column="0" Margin="0,2,0,2" Style="{DynamicResource EmailButtonStyle}" ></Button>
                        <Button x:Name="btnTo"  Content="To" Grid.Row="1" Grid.Column="0" Margin="0,2,0,2"  Style="{DynamicResource EmailButtonStyle}"/>
                        <Button x:Name="btnCC"  Content="CC" Grid.Row="2" Grid.Column="0" Margin="0,2,0,2" Style="{DynamicResource EmailButtonStyle}"/>
                        <Button x:Name="btnBCC"  Content="BCC" Grid.Row="3" Grid.Column="0" Margin="0,2,0,2"  Style="{DynamicResource EmailButtonStyle}"/>
                        <Label Content ="Subject" Grid.Row="4" Grid.Column="0"    />
                        <TextBox   x:Name="txtFrom" Grid.Row="0" Grid.Column="1"  Style="{ DynamicResource VPSSTSTextBoxStyle }" TabIndex="1"    KeyboardNavigation.TabIndex="1" Width="1295" />
                        <telerik:RadAutoCompleteBox x:Name="txtTo" Grid.Row="1" Grid.Column="1"   TabIndex="2" TextSearchMode="Contains"  
                            DisplayMemberPath="Email" SelectionMode="Multiple"  Style="{DynamicResource VPSRadAutoCompleteBoxStyle}"
                            TextSearchPath="Email"  AutoCompleteMode="SuggestAppend" KeyboardNavigation.TabIndex="2"  >
                        </telerik:RadAutoCompleteBox>
                        <telerik:RadAutoCompleteBox x:Name="txtCC" Grid.Row="2" Grid.Column="1"   TabIndex="3" TextSearchMode="Contains"
                            DisplayMemberPath="Email" SelectionMode="Multiple"  Style="{DynamicResource VPSRadAutoCompleteBoxStyle}"
                            TextSearchPath="Email"  AutoCompleteMode="SuggestAppend" KeyboardNavigation.TabIndex="3"   />
                        <telerik:RadAutoCompleteBox x:Name="txtBCC" Grid.Row="3" Grid.Column="1"   TabIndex="4" TextSearchMode="Contains" 
                            DisplayMemberPath="Email" SelectionMode="Multiple"  Style="{DynamicResource VPSRadAutoCompleteBoxStyle}"
                            TextSearchPath="Email"  AutoCompleteMode="SuggestAppend" KeyboardNavigation.TabIndex="4" >
                        </telerik:RadAutoCompleteBox>
                        <TextBox   x:Name="txtSubject" Grid.Row="4" Grid.Column="1"  Style="{ DynamicResource VPSSTSTextBoxStyle }" TabIndex="5" KeyboardNavigation.TabIndex="5"  />
                    </Grid>
                </Border>
            </telerik:RadExpander.Content>
        </telerik:RadExpander>
        <Grid>
            <avalonDock:DockingManager Grid.Row="1" x:Name="dockManager" AllowMixedOrientation="False">
                <avalonDock:LayoutRoot>
                    <avalonDock:LayoutRoot.RightSide>
                        <avalonDock:LayoutAnchorSide>
                            <avalonDock:LayoutAnchorGroup>
                                <avalonDock:LayoutAnchorable Title="Email Body" ContentId="EmailBody" >
                                </avalonDock:LayoutAnchorable>
                                <avalonDock:LayoutAnchorable Title="Preview" ContentId="Preview">
                                    <avalonDock:LayoutDocumentPane>
                                       
                                    </avalonDock:LayoutDocumentPane>
                                </avalonDock:LayoutAnchorable>
                            </avalonDock:LayoutAnchorGroup>
                        </avalonDock:LayoutAnchorSide>
                    </avalonDock:LayoutRoot.RightSide>
                    <avalonDock:LayoutPanel>
                        <avalonDock:LayoutAnchorablePaneGroup  Orientation="Vertical" >