ClearSelectionButton is not calling the model

2 posts, 0 answers
  1. Martin
    Martin avatar
    39 posts
    Member since:
    Sep 2008

    Posted 25 Mar 2013 Link to this post

    
    The clear button is clearing the input field in the PropertyGrid but the value on the model is never set.

    <DataTemplate x:Key="RequiredCondition">
          <telerik:RadComboBox ItemsSource="{Binding Path=DataContext.Conditions, RelativeSource={RelativeSource FindAncestor,
                                                 AncestorType={x:Type views:PropertyEditorView}}, Mode=OneWay}"
                               DisplayMemberPath="Name"
                               SelectedItem="{Binding CurrentPropertySet[RequiredCondition]}"
                               ToolTip="{Binding ElementName=cboRequiredCondition, Path=SelectionBoxItem.Description}"
                               ClearSelectionButtonContent="Clear"
                               ClearSelectionButtonVisibility="Visible"
                               TextSearchMode="Contains"
                               x:Name="cboRequiredCondition"/>
      </DataTemplate>
  2. Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 28 Mar 2013 Link to this post

    Hello Martin,

    We are not aware of such problem. I've tried to reproduce the problem, but unfortunately I couldn't. Would you please provide us some more information?

    For example:
    - Which version of RadControls you are using?
    - Do you receive a binding error in the output window when you select an item?

    More details on your current implementation could help us reproduce the issue. In that way we will be able to start researching and provide a fix in timely manner.

    Kind regards,
    Ventzi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top