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

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

2 Answers 17 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 28 May 2014, 07:49 AM
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 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 31 May 2014, 08:21 AM
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.
 
0
Pawel
Top achievements
Rank 1
answered on 02 Jun 2014, 02:59 PM
Thank you.
Tags
DataFilter
Asked by
Pawel
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Pawel
Top achievements
Rank 1
Share this question
or