[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1457
  • Last Modified:

Tab order Problem

Expert
Please see the attached image and please advise me why the tab order is not working in the proper order.
The code is also attached to this.
Thanking you
<Grid x:Name="grdDetails" Grid.Column="0" Grid.Row="1" Width="446" Height="560" HorizontalAlignment="Left" VerticalAlignment="Top" MaxHeight="580" Grid.ColumnSpan="2"  >
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" MinHeight="39"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="98"/>
                                <RowDefinition Height="30"/>
                                <RowDefinition Height="269"/>
                                <RowDefinition Height="30"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="116" />
                                <ColumnDefinition Width="300"/>
                                <ColumnDefinition Width="30"/>
                            </Grid.ColumnDefinitions>

                            <telerik:RadButton x:Name="btnName"  Content="Full name..." Grid.Column="0"  Grid.Row="0" Height="22" Margin="3,4.8,-1.5,5" />
                            <TextBox x:Name="txtConactName" Height="22" Grid.Column="1" Grid.Row="0" Margin="8,9,6,8"  d:LayoutOverrides="GridBox" />
                            <TextBlock Height="22" Text="Title" TextWrapping="Wrap" x:Name="lblTitle" Margin="7,7,54,6" Grid.Row="1" />
                            <telerikInput:RadComboBox Height="22" x:Name="cboTitle"  Margin="8,7,6,6" Grid.Column="1" Grid.Row="1"/>
                            <TextBlock Height="22" Text="Suffix" TextWrapping="Wrap" x:Name="lblSuffix" Margin="7,7,54,6" Grid.Row="2"/>
                            <telerikInput:RadComboBox Height="22" x:Name="cboSuffix"  Margin="8,7,6,6" Grid.Column="1" Grid.Row="2"/>
                            <input:AutoCompleteBox x:Name="txtCompany" Height="22" Grid.Column="1" Grid.Row="3"  Margin="8,7,6,6"  >
                                <input:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding CompanyName}"/>
                                    </DataTemplate>
                                </input:AutoCompleteBox.ItemTemplate>
                            </input:AutoCompleteBox>
                            <TextBlock Margin="7,7,29,6"  Foreground="#FF000000" Text="Company" x:Name="lblCompany" Grid.Row="3" Height="22"/>
                            <TextBlock Margin="7,7,4,6" Text="Job title " TextWrapping="Wrap" x:Name="lblJobTitle"  Grid.Row="4" Height="22"/>





                            <UBS_Rx_Presentation_UI_Controls:WaitIndicator x:Name="wi"  VerticalAlignment="Stretch" Background="#FF3C5907" Foreground="#FF3C5907"  Margin="302,0,0,-2" Grid.Column="2" Grid.Row="5" HorizontalAlignment="Stretch" />
                            <!--<TextBlock Margin="7,7,-6.5,6" Text="Business..." Grid.Row="6" x:Name="lblBusiness" Height="22" />-->
                            
                            <telerik:RadButton Margin="3,5,-1.5,5"  Content="Business..." Grid.Row="6" x:Name="btnPhoneType" Height="22" VerticalAlignment="Top" />
                            <TextBox Margin="8,7,6,6" Grid.Column="1" Grid.Row="6" Text="" TextWrapping="Wrap" x:Name="txtBusiness"  Height="22"/>
                            <telerik:RadButton Margin="3,5,3.5,5" Content="Business..." x:Name="btnBusinessAddress" Grid.Row="8" Height="22" />
                            <StackPanel Orientation="Horizontal"  Grid.Column="1" Grid.Row="8"   Margin="8,5,5,5"  >
                                <UBS_Rx_Presentation_Controls:AddressFieldControl x:Name="txtAddress"  MinWidth="245" MaxWidth="275" Width="224" />
                                <HyperlinkButton x:Name="imgMap" Content="Map it"  Height="24" Width="Auto"  Margin="-14,0,0,3" VerticalAlignment="Bottom"  HorizontalAlignment="Right"  />
                                <!--<Image x:Name="imgMap" Height="24" Width="24" Cursor="Hand" Margin="-14,0,0,3" VerticalAlignment="Bottom"  HorizontalAlignment="Left" MouseLeftButtonDown="imgMap_MouseLeftButtonDown" />-->
                            </StackPanel>
                            <TextBox Margin="8,7,6,6" x:Name="txtEmailAddress" Text="" TextWrapping="Wrap" Grid.Column="1" Grid.Row="5"  Width="286" Height="22"/>


                            <TextBlock Margin="7,7,29.5,6" Grid.Row="5" Text="Email..." TextWrapping="Wrap" x:Name="lblEmail" Height="22"/>
                            <Popup x:Name="popUpName" Grid.ColumnSpan="2"/>


                            <TextBlock x:Name="lblWeb" Text="Web" TextWrapping="Wrap" HorizontalAlignment="Left" Width="76" Height="22" Margin="5,4,0,0" Grid.Row="9" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
                            <TextBox x:Name="txtWeb" Text="" TextWrapping="Wrap"  Margin="8,3,40,0" Grid.Row="9" Grid.Column="1" Height="24" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
                            <HyperlinkButton x:Name="hypWeb" Content="" Margin="5,5,0,0" Grid.Row="9" Grid.Column="1" Height="20" HorizontalAlignment="Left" Width="272" VerticalAlignment="Top" d:LayoutOverrides="Height" Visibility="Collapsed"/>
                            <telerik:RadButton 
    						x:Name="btnDuplicateWeb" 
    						Width="19" HorizontalAlignment="Right" Margin="0,2,18,0" Grid.Column="1" Grid.Row="9" Height="25" VerticalAlignment="Top">
                                <ToolTipService.ToolTip>
                                    <ToolTip x:Name="toolTipDuplicateWeb"/>
                                </ToolTipService.ToolTip>
                                <Image x:Name="imgDuplicateWeb" Margin="0,0,0,0" />
                            </telerik:RadButton>
                            <TextBlock Margin="2,4,0,0" Grid.Row="10" Grid.Column="0" TextWrapping="Wrap" x:Name="lblDescription" Text="Description" Height="19" VerticalAlignment="Top"/>
                            <TextBox x:Name="txtDescription" MaxLength="4000" AcceptsReturn="True"  Height="80" Width="{Binding ElementName=txtConactName, Path=ActualWidth}" Grid.Row="10" Grid.Column="1" VerticalScrollBarVisibility="Auto" Margin="5,5,5,0"  VerticalAlignment="Top" TextWrapping="Wrap" />
                            <!--<TextBlock Margin="7,7,-6.5,6" Text="Mobile..." Grid.Row="7" x:Name="lblMobile"  Height="22" />-->
                            <telerik:RadButton Margin="3,5,-1.5,5"  Content="Mobile..." Grid.Row="7" x:Name="btnPhoneType1" Height="22" VerticalAlignment="Top" />
                            <TextBox Margin="8,7,6,6" Grid.Column="1" Grid.Row="7" Text="" TextWrapping="Wrap" x:Name="txtMobile"  Height="22"/>
                            <input:AutoCompleteBox x:Name="txtjobtitle" Height="22" Grid.Column="1" Grid.Row="4"  Margin="8,7,6,6"  >
                                <input:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding CompanyName}"/>
                                    </DataTemplate>
                                </input:AutoCompleteBox.ItemTemplate>
                            </input:AutoCompleteBox>


                            <TextBlock Text="Rating" Name="lblRating" Height="20" Grid.Row="10" Grid.Column="0" Margin="2,98,0,0" VerticalAlignment="Top" />
                            <telerikInput:RadComboBox Margin="8,96,10,0" Height="22"  Grid.Column="1" Grid.Row="10" x:Name="cboRating" VerticalAlignment="Top" />

                            <TextBlock Margin="2,125,41,130" Grid.Row="10" Name="lblIsActive" Text="Active" TextWrapping="Wrap"/>
                            <CheckBox HorizontalAlignment="Left" Name="chkIsActive" Margin="10,127,0,121" Width="110" Content="" Grid.Column="1" Grid.Row="10"/>

                        </Grid>
                    </Grid>
                </StackPanel>
            </telerik:RadExpander>
            <telerik:RadExpander Tag="0" x:Name="itemUDF" IsExpanded="True" Style="{StaticResource RxMoolaEditExpanderHeaderStyle}"    Margin="15,0,0,0"  >

                <telerik:RadExpander.Header>

                    <Canvas x:Name="Layer_AdditionalInfoDetails" HorizontalAlignment="Stretch" Margin="10,0,0,0">

                        <Path x:Name="Path_AdditionalInfoDetails" Width="{Binding ElementName=Layer_AdditionalInfoDetails, Path=ActualWidth}"  Canvas.Left="0"
    					Canvas.Top="0" Data="F1 M 32,160L 32,192L 768,192L 768,190L 288,190L 256,160L 32,160 Z "  Style="{StaticResource RxMoolaEditExpanderHeaderPathStyle}" Stretch="Fill"/>
                        <StackPanel Style="{StaticResource RxMoolaEditExpanderHeaderStackPanelStyle}" Canvas.Left="10" Canvas.Top="2">
                            <Image  x:Name="ImgAdditionalInfoDetails"  Style="{StaticResource RxMoolaEntityExpanderHeaderImageStyle}"/>
                            <TextBlock Text="Additional information" Canvas.Left="10" Canvas.Top="4" Canvas.ZIndex="1" Style="{StaticResource RxMoolaEditExpanderHeaderTextBlockStyle}"/>
                        </StackPanel>
                    </Canvas>
                </telerik:RadExpander.Header>
                <StackPanel Margin="25,0,0,0" HorizontalAlignment="Stretch" >
                    <StackPanel  x:Name="spUDF" Height="Auto" HorizontalAlignment="Stretch" Margin="0,3,2,0" />



//for your reference I am giving below the total code of this page


<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     xmlns:navigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:input="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input" xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" xmlns:UBS_Rx_Presentation_Controls="clr-namespace:UBS.Rx.Presentation.Controls" xmlns:UBS_Rx_Presentation_UI_Controls="clr-namespace:UBS.Rx.Presentation.UI.Controls" x:Class="UBS.Rx.Presentation.UI.Moola.LeadUI" 
     mc:Ignorable="d" HorizontalAlignment="Left">
    <Grid x:Name="LayoutRoot" MinWidth="600">


        <navigation:RadContextMenu.ContextMenu>
            <navigation:RadContextMenu x:Name="contextMenu">
                <navigation:RadMenuItem Name="mnuSave"  Header="Save" Click="RadMenuItem_Click"  />
                <navigation:RadMenuItem Name="mnuCancel"  Header="Cancel" Click="RadMenuItem_Click" />
                <navigation:RadMenuItem Name="mnuremoveLead" Header="Delete" Click="RadMenuItem_Click" />
                <navigation:RadMenuItem Name="mnuConvert" Header="Convert to">
                    <navigation:RadMenuItem Name="mnuConverttsuspect"  Header="Suspect" Click="RadMenuItem_Click" />
                    <navigation:RadMenuItem Name="mnuConverttopp"  Header="Suspect and Opportunity" Click="RadMenuItem_Click"  />
                </navigation:RadMenuItem>

            </navigation:RadContextMenu>
        </navigation:RadContextMenu.ContextMenu>

        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <dataInput:ValidationSummary Name="validationSummary" Grid.Row="0"/>

        <StackPanel x:Name="LeadPanel" MinWidth="600" Grid.Row="1" >
            <telerik:RadExpander Tag="0" x:Name="itemConact" IsExpanded="True" Style="{StaticResource RxMoolaEditExpanderHeaderStyle}"    MaxHeight="600" Margin="15,8,0,0" HorizontalAlignment="Left"  >

                <telerik:RadExpander.Header >
                    <Canvas x:Name="Layer_ContactDetails" HorizontalAlignment="Stretch" Margin="10,0,0,0">
                        <Path x:Name="Path_ContactDetails" Width="{Binding ActualWidth, ElementName=Layer_ContactDetails}" Canvas.Left="0"
    					Canvas.Top="0" Data="F1 M 32,160L 32,192L 768,192L 768,190L 288,190L 256,160L 32,160 Z "  Style="{StaticResource RxMoolaEditExpanderHeaderPathStyle}" Stretch="Fill"/>
                        <StackPanel Style="{StaticResource RxMoolaEditExpanderHeaderStackPanelStyle}" Canvas.Left="10" Canvas.Top="2">
                            <Image  x:Name="ImgContactDeatils"  Style="{StaticResource RxMoolaEditExpanderHeaderImageStyle}"/>
                            <TextBlock Text="Lead Details" Canvas.Left="10" Canvas.Top="4" Canvas.ZIndex="1" Style="{StaticResource RxMoolaEditExpanderHeaderTextBlockStyle}"/>
                        </StackPanel>
                    </Canvas>
                </telerik:RadExpander.Header>

                <StackPanel Margin="35,0,0,0" HorizontalAlignment="Left" >
                    <Grid Margin="0,5,0,-2" HorizontalAlignment="Left"   >
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="450" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Border Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch"  ScrollViewer.HorizontalScrollBarVisibility="Auto" 
    					ScrollViewer.VerticalScrollBarVisibility="Auto" x:Name="brdRemarks" MaxHeight="530" Margin="0,7,3,0"/>
                        <Grid x:Name="grdDetails" Grid.Column="0" Grid.Row="1" Width="446" Height="560" HorizontalAlignment="Left" VerticalAlignment="Top" MaxHeight="580" Grid.ColumnSpan="2"  >
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" MinHeight="39"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="35"/>
                                <RowDefinition Height="98"/>
                                <RowDefinition Height="30"/>
                                <RowDefinition Height="269"/>
                                <RowDefinition Height="30"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="116" />
                                <ColumnDefinition Width="300"/>
                                <ColumnDefinition Width="30"/>
                            </Grid.ColumnDefinitions>

                            <telerik:RadButton x:Name="btnName"  Content="Full name..." Grid.Column="0"  Grid.Row="0" Height="22" Margin="3,4.8,-1.5,5" />
                            <TextBox x:Name="txtConactName" Height="22" Grid.Column="1" Grid.Row="0" Margin="8,9,6,8"  d:LayoutOverrides="GridBox" />
                            <TextBlock Height="22" Text="Title" TextWrapping="Wrap" x:Name="lblTitle" Margin="7,7,54,6" Grid.Row="1" />
                            <telerikInput:RadComboBox Height="22" x:Name="cboTitle"  Margin="8,7,6,6" Grid.Column="1" Grid.Row="1"/>
                            <TextBlock Height="22" Text="Suffix" TextWrapping="Wrap" x:Name="lblSuffix" Margin="7,7,54,6" Grid.Row="2"/>
                            <telerikInput:RadComboBox Height="22" x:Name="cboSuffix"  Margin="8,7,6,6" Grid.Column="1" Grid.Row="2"/>
                            <input:AutoCompleteBox x:Name="txtCompany" Height="22" Grid.Column="1" Grid.Row="3"  Margin="8,7,6,6"  >
                                <input:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding CompanyName}"/>
                                    </DataTemplate>
                                </input:AutoCompleteBox.ItemTemplate>
                            </input:AutoCompleteBox>
                            <TextBlock Margin="7,7,29,6"  Foreground="#FF000000" Text="Company" x:Name="lblCompany" Grid.Row="3" Height="22"/>
                            <TextBlock Margin="7,7,4,6" Text="Job title " TextWrapping="Wrap" x:Name="lblJobTitle"  Grid.Row="4" Height="22"/>





                            <UBS_Rx_Presentation_UI_Controls:WaitIndicator x:Name="wi"  VerticalAlignment="Stretch" Background="#FF3C5907" Foreground="#FF3C5907"  Margin="302,0,0,-2" Grid.Column="2" Grid.Row="5" HorizontalAlignment="Stretch" />
                            <!--<TextBlock Margin="7,7,-6.5,6" Text="Business..." Grid.Row="6" x:Name="lblBusiness" Height="22" />-->
                            
                            <telerik:RadButton Margin="3,5,-1.5,5"  Content="Business..." Grid.Row="6" x:Name="btnPhoneType" Height="22" VerticalAlignment="Top" />
                            <TextBox Margin="8,7,6,6" Grid.Column="1" Grid.Row="6" Text="" TextWrapping="Wrap" x:Name="txtBusiness"  Height="22"/>
                            <telerik:RadButton Margin="3,5,3.5,5" Content="Business..." x:Name="btnBusinessAddress" Grid.Row="8" Height="22" />
                            <StackPanel Orientation="Horizontal"  Grid.Column="1" Grid.Row="8"   Margin="8,5,5,5"  >
                                <UBS_Rx_Presentation_Controls:AddressFieldControl x:Name="txtAddress"  MinWidth="245" MaxWidth="275" Width="224" />
                                <HyperlinkButton x:Name="imgMap" Content="Map it"  Height="24" Width="Auto"  Margin="-14,0,0,3" VerticalAlignment="Bottom"  HorizontalAlignment="Right"  />
                                <!--<Image x:Name="imgMap" Height="24" Width="24" Cursor="Hand" Margin="-14,0,0,3" VerticalAlignment="Bottom"  HorizontalAlignment="Left" MouseLeftButtonDown="imgMap_MouseLeftButtonDown" />-->
                            </StackPanel>
                            <TextBox Margin="8,7,6,6" x:Name="txtEmailAddress" Text="" TextWrapping="Wrap" Grid.Column="1" Grid.Row="5"  Width="286" Height="22"/>


                            <TextBlock Margin="7,7,29.5,6" Grid.Row="5" Text="Email..." TextWrapping="Wrap" x:Name="lblEmail" Height="22"/>
                            <Popup x:Name="popUpName" Grid.ColumnSpan="2"/>


                            <TextBlock x:Name="lblWeb" Text="Web" TextWrapping="Wrap" HorizontalAlignment="Left" Width="76" Height="22" Margin="5,4,0,0" Grid.Row="9" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
                            <TextBox x:Name="txtWeb" Text="" TextWrapping="Wrap"  Margin="8,3,40,0" Grid.Row="9" Grid.Column="1" Height="24" VerticalAlignment="Top" d:LayoutOverrides="Height"/>
                            <HyperlinkButton x:Name="hypWeb" Content="" Margin="5,5,0,0" Grid.Row="9" Grid.Column="1" Height="20" HorizontalAlignment="Left" Width="272" VerticalAlignment="Top" d:LayoutOverrides="Height" Visibility="Collapsed"/>
                            <telerik:RadButton 
    						x:Name="btnDuplicateWeb" 
    						Width="19" HorizontalAlignment="Right" Margin="0,2,18,0" Grid.Column="1" Grid.Row="9" Height="25" VerticalAlignment="Top">
                                <ToolTipService.ToolTip>
                                    <ToolTip x:Name="toolTipDuplicateWeb"/>
                                </ToolTipService.ToolTip>
                                <Image x:Name="imgDuplicateWeb" Margin="0,0,0,0" />
                            </telerik:RadButton>
                            <TextBlock Margin="2,4,0,0" Grid.Row="10" Grid.Column="0" TextWrapping="Wrap" x:Name="lblDescription" Text="Description" Height="19" VerticalAlignment="Top"/>
                            <TextBox x:Name="txtDescription" MaxLength="4000" AcceptsReturn="True"  Height="80" Width="{Binding ElementName=txtConactName, Path=ActualWidth}" Grid.Row="10" Grid.Column="1" VerticalScrollBarVisibility="Auto" Margin="5,5,5,0"  VerticalAlignment="Top" TextWrapping="Wrap" />
                            <!--<TextBlock Margin="7,7,-6.5,6" Text="Mobile..." Grid.Row="7" x:Name="lblMobile"  Height="22" />-->
                            <telerik:RadButton Margin="3,5,-1.5,5"  Content="Mobile..." Grid.Row="7" x:Name="btnPhoneType1" Height="22" VerticalAlignment="Top" />
                            <TextBox Margin="8,7,6,6" Grid.Column="1" Grid.Row="7" Text="" TextWrapping="Wrap" x:Name="txtMobile"  Height="22"/>
                            <input:AutoCompleteBox x:Name="txtjobtitle" Height="22" Grid.Column="1" Grid.Row="4"  Margin="8,7,6,6"  >
                                <input:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding CompanyName}"/>
                                    </DataTemplate>
                                </input:AutoCompleteBox.ItemTemplate>
                            </input:AutoCompleteBox>


                            <TextBlock Text="Rating" Name="lblRating" Height="20" Grid.Row="10" Grid.Column="0" Margin="2,98,0,0" VerticalAlignment="Top" />
                            <telerikInput:RadComboBox Margin="8,96,10,0" Height="22"  Grid.Column="1" Grid.Row="10" x:Name="cboRating" VerticalAlignment="Top" />

                            <TextBlock Margin="2,125,41,130" Grid.Row="10" Name="lblIsActive" Text="Active" TextWrapping="Wrap"/>
                            <CheckBox HorizontalAlignment="Left" Name="chkIsActive" Margin="10,127,0,121" Width="110" Content="" Grid.Column="1" Grid.Row="10"/>

                        </Grid>
                    </Grid>
                </StackPanel>
            </telerik:RadExpander>
            <telerik:RadExpander Tag="0" x:Name="itemUDF" IsExpanded="True" Style="{StaticResource RxMoolaEditExpanderHeaderStyle}"    Margin="15,0,0,0"  >

                <telerik:RadExpander.Header>

                    <Canvas x:Name="Layer_AdditionalInfoDetails" HorizontalAlignment="Stretch" Margin="10,0,0,0">

                        <Path x:Name="Path_AdditionalInfoDetails" Width="{Binding ElementName=Layer_AdditionalInfoDetails, Path=ActualWidth}"  Canvas.Left="0"
    					Canvas.Top="0" Data="F1 M 32,160L 32,192L 768,192L 768,190L 288,190L 256,160L 32,160 Z "  Style="{StaticResource RxMoolaEditExpanderHeaderPathStyle}" Stretch="Fill"/>
                        <StackPanel Style="{StaticResource RxMoolaEditExpanderHeaderStackPanelStyle}" Canvas.Left="10" Canvas.Top="2">
                            <Image  x:Name="ImgAdditionalInfoDetails"  Style="{StaticResource RxMoolaEntityExpanderHeaderImageStyle}"/>
                            <TextBlock Text="Additional information" Canvas.Left="10" Canvas.Top="4" Canvas.ZIndex="1" Style="{StaticResource RxMoolaEditExpanderHeaderTextBlockStyle}"/>
                        </StackPanel>
                    </Canvas>
                </telerik:RadExpander.Header>
                <StackPanel Margin="25,0,0,0" HorizontalAlignment="Stretch" >
                    <StackPanel  x:Name="spUDF" Height="Auto" HorizontalAlignment="Stretch" Margin="0,3,2,0" />



                    <Grid x:Name="grdPersonalDetails" Margin="5,0" VerticalAlignment="Top">

                        <Grid.ColumnDefinitions>
                            <ColumnDefinition MinWidth="130" MaxWidth="130" />
                            <ColumnDefinition Width="280" MaxWidth="280"/>
                            <ColumnDefinition Width="30" MaxWidth="30"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions >
                            <RowDefinition/>
                            <RowDefinition Height="35"/>
                            <RowDefinition Height="28"/>
                            <RowDefinition Height="26"/>
                            <RowDefinition Height="26"/>
                            <RowDefinition Height="29"/>


                        </Grid.RowDefinitions>

                        <TextBlock Height="22" Margin="2,0,0,-3" VerticalAlignment="Bottom" Text="No of employees." TextWrapping="Wrap" x:Name="lblEmployeeCount" Grid.Row="1" Grid.Column="0" />
                        <telerikInput:RadNumericUpDown x:Name="numEmpCount" ShowButtons="False" Delay="250" Minimum="0" Maximum="9999999999" MaxWidth="300"  Height="22"  Grid.Row="1" Grid.Column="1" VerticalAlignment="Bottom"    />

                        <TextBlock Height="22" Margin="2,0,0,-1" VerticalAlignment="Bottom" Text="Annual revenue" TextWrapping="Wrap" x:Name="lblAnnualRevenue" Grid.Row="2" Grid.Column="0"/>
                        <telerikInput:RadNumericUpDown x:Name="numRevenue" ShowButtons="False" Delay="250" Minimum="0" Maximum="9999999999" MaxWidth="300" Height="22" VerticalAlignment="Bottom" Grid.Row="2" Grid.Column="1"  d:LayoutOverrides="GridBox" Margin="0,0,0,1"  />


                        <TextBlock Height="22" Margin="2,0,0,-1" VerticalAlignment="Bottom" Grid.Row="3" Grid.Column="0" Text="Lead Source" TextWrapping="Wrap" x:Name="lblLeadsource" />
                        <telerikInput:RadComboBox Height="19"  VerticalAlignment="Bottom" Grid.Row="3" Grid.Column="1" x:Name="cboLeadsource"  d:LayoutOverrides="GridBox"/>

                        <TextBlock Height="19" Margin="2,0,0,1" VerticalAlignment="Bottom" Grid.Row="4" Grid.Column="0" TextWrapping="Wrap" x:Name="lblIndustry"><Run Text="Industry"/><LineBreak/><Run Text=""/></TextBlock>
                        <telerikInput:RadComboBox Height="19"  VerticalAlignment="Bottom" Grid.Row="4" Grid.Column="1" x:Name="cboIndustry"  d:LayoutOverrides="GridBox"/>
                        <TextBlock Text="Sales person " TextWrapping="Wrap" x:Name="Lblslaseperson1"
                            	Width="94" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="2,7,0,0" Grid.Row="5"/>
                        <telerikInput:RadComboBox Margin="0,2" x:Name="cbosalesperson1" Height="22" VerticalAlignment="Bottom" Grid.Row="5" Grid.Column="1"/>


                    </Grid>

                </StackPanel>
            </telerik:RadExpander>
        </StackPanel>
    </Grid>
</UserControl>

Open in new window

work.JPG
0
ANINDYA
Asked:
ANINDYA
1 Solution
 
Vikram Singh SainiSoftware Engineer cum AD DeveloperCommented:
When you use some control in your form (in Window) or in Page(Asp.Net) one after another the controls gets their tab order accordingly. So it seems to me that you have placed the btnPhoneType after txtCompany.

And if you need to override this default settings you need to modify tab index or some property like that and set that for each control as per requirement.



0
 
ANINDYAAuthor Commented:
Expert vs00saini
It is working fine and accurately.
Thanks a lot for that .
If possible please see the other problem
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_26604112.html

Thanking you very much.
Anindya chatterjee
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now