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

OpenDropDownOnFocus no longer working in 2010 Q2 SP2

3 Answers 38 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 07 Oct 2010, 05:29 AM
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

3 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 12 Oct 2010, 02:00 PM
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
0
Daniel
Top achievements
Rank 1
answered on 18 Oct 2010, 04:02 AM
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>
0
Veselin Vasilev
Telerik team
answered on 20 Oct 2010, 02:27 PM
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
Tags
ComboBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Daniel
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or