ComboBox in RadDropDownButton

2 posts, 0 answers
  1. Paul Bradford
    Paul Bradford avatar
    5 posts
    Member since:
    Mar 2010

    Posted 06 Oct 2010 Link to this post

    Hi.  We are trying to use a collection of Combo boxes from within the content of a RadDropDownButton.  However, the actual Combobox items all appear at the far left portion of the page when the Combobox is opened, not underneath each Combo Box. The attached screencap shows this issue.

    The xaml for the actual control hosting the DropDownButton is below:

            <telerik:RadDropDownButton x:Name="dropButtonSelector" Content="Select a year">
                    <Grid VerticalAlignment="Top" HorizontalAlignment="Left">
                        <Border Padding="5" BorderThickness="1" Background="{StaticResource Border Background}" BorderBrush="{StaticResource Border Border}" CornerRadius="3" Width="365">
                                <DropShadowEffect BlurRadius="10" Opacity="0.4" ShadowDepth="2"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                <StackPanel Orientation="Vertical" d:LayoutOverrides="Height" Margin="0,0,0,5">
                                    <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Program / Term / Year Selector" FontSize="{StaticResource ControlTitleFontSize}" Foreground="{StaticResource Amparo Blue}"/>
                                    <TextBlock TextWrapping="Wrap" Text="A scelerisque scelerisque tempor. Velit scelerisque scelerisque, ut mattis. Lundium pulvinar sagittis sit porta pulvinar." Foreground="{StaticResource CheckBoxBrush}"/>
                                <Button x:Name="btnClose" HorizontalAlignment="Right" VerticalAlignment="Top" Padding="2" Click="closeSelector">
                                    <Image Source="/images/closebutton.png" Stretch="Fill" Width="18" Height="18"/>
                                <ComboBox x:Name="cboProgram" DataMemberPath="Id" DisplayMemberPath="Name" VerticalAlignment="Top" Grid.Row="1" Width="250" Margin="0,2,0,0" HorizontalAlignment="Left"/>
                                <ComboBox x:Name="cboTerm" DataMemberPath="Id" DisplayMemberPath="Name"  VerticalAlignment="Top" Grid.Row="2" Width="250" Margin="0,2,0,0" HorizontalAlignment="Left"/>
                                <ComboBox x:Name="cboYear" DataMemberPath="Id" DisplayMemberPath="Name" VerticalAlignment="Top" Grid.Row="3" Width="250" Margin="0,2,0,0" HorizontalAlignment="Left"/>

  2. Alex Fidanov
    Alex Fidanov avatar
    636 posts

    Posted 12 Oct 2010 Link to this post

    Hello Paul,

    We have acknowledged this as an issue in the RadDropDownButton. I have logged this under "RadDropDownButton: Incorrect positioning of a popup opened from the DropDownButton's content and effect is applied" and we are already looking for a resolution for it. You can check this issue's progress from our PITS.

    Best wishes,
    Alex Fidanov
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top