OpenDropDownOnFocus no longer working in 2010 Q2 SP2

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    2 posts
    Member since:
    Oct 2010

    Posted 07 Oct 2010 Link to this post

    Hi

    Previously in the Q1 SP2 controls we had a combo box with:

    OpenDropDownOnFocus="True"
    IsEditable="True"
    IsReadOnly="True"

    Which gave us a combo where the user could type in, but only match existing items and when it received focus it popped open.

    Now, when IsEditable is True the OpenDropDownOnFocus does not work.

    We've tested this in a clean project outside our RadGrid and the bug still remains

  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 12 Oct 2010 Link to this post

    Hello Daniel,

    I tried this with our latest release 2010.2.924  but was not able to reproduce it. Could you send us a small project or code snippet that would help us find what is wrong. Also are you using Silverlight 3 or 4 .

    Best wishes,
    Boyan
    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 banner
  4. Daniel
    Daniel avatar
    2 posts
    Member since:
    Oct 2010

    Posted 17 Oct 2010 Link to this post

    Silverlight version 4.

    We are using the same version of the Telerik controls as you have said.

    Here's the sample code

    <navigation:Page x:Class="RadComboBoxGrid.Home" 
        xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                     xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
        Title="Home"
        Style="{StaticResource PageStyle}">
      
        <Grid x:Name="LayoutRoot">
            <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">
      
                <StackPanel x:Name="ContentStackPanel">
      
                    <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}" 
                                       Text="Home"/>
                    <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}" 
                                       Text="Home page content"/>
      
                    <telerik:RadGridView Name="grid" ItemsSource="{Binding PersonList}" EditTriggers="CellClick" AutoGenerateColumns="False">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn Header="Person" >
                                <telerik:GridViewDataColumn.CellEditTemplate>
                                    <DataTemplate>
                                        <TextBox Text="{Binding Name, NotifyOnValidationError=True, ValidatesOnExceptions=True, Mode=TwoWay}" ></TextBox>
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellEditTemplate>
                                <telerik:GridViewDataColumn.CellTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding Name, NotifyOnValidationError=True, ValidatesOnExceptions=True}" ></TextBlock>
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellTemplate>
                            </telerik:GridViewDataColumn>
      
                            <telerik:GridViewDataColumn Header="Equipment" Width="90" >
                                <telerik:GridViewDataColumn.CellEditTemplate>
                                    <DataTemplate>
                                        <telerik:RadComboBox OpenDropDownOnFocus="True" IsEditable="True" IsReadOnly="False" ClearSelectionButtonContent="Clear" ClearSelectionButtonVisibility="Visible">
                                            <telerik:RadComboBoxItem Content="Equipment 1" />
                                            <telerik:RadComboBoxItem Content="Equipment 2" />
                                            <telerik:RadComboBoxItem Content="Equipment 3" />
                                            <telerik:RadComboBoxItem Content="Equipment 4" />
                                        </telerik:RadComboBox>
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellEditTemplate>
                            </telerik:GridViewDataColumn>
                        </telerik:RadGridView.Columns>
                    </telerik:RadGridView>
                </StackPanel>
            </ScrollViewer>
        </Grid>
      
    </navigation:Page>
  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 20 Oct 2010 Link to this post

    Hello Daniel,

    I just tested this in a simple project using the latest binaries (Q3 2010 Beta) and the combobox opens on focus. Please download it and give it a try.

    Sincerely yours,
    Veselin Vasilev
    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
Back to Top