Enter key doesn't work for textbox as custom filter editor

3 posts, 0 answers
  1. Pawel
    Pawel avatar
    39 posts
    Member since:
    Apr 2014

    Posted 28 May 2014 Link to this post

    I create textbox as custom filter editor according with http://www.telerik.com/help/wpf/raddatafilter-how-to-create-custom-filter-editors.html. But enter key doesn't trigger filtering. How can I restore this behaviour?
  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 31 May 2014 Link to this post

    Hi Pawel,

    You can easily achieve this by using our TextBoxBehavior like so:
    <DataTemplate x:Key="TextBoxEditor">
                      <TextBox Text="{Binding Value, Mode=TwoWay}" telerik:TextBoxBehavior.UpdateTextOnEnter="True"  Background="Yellow"
                                    MinWidth="100" />
                </DataTemplate>

    I hope this helps.

    Regards,
    Yoan
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Pawel
    Pawel avatar
    39 posts
    Member since:
    Apr 2014

    Posted 02 Jun 2014 in reply to Yoan Link to this post

    Thank you.
Back to Top