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

ComboBox TextInput event broken?

8 Answers 145 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Tola
Top achievements
Rank 1
Tola asked on 02 Apr 2012, 07:59 AM
Hi,

I had the following code, that was working with Silverlight 4 and previous version of Telerik. We have now upgraded to Silverlight 5 and newest version of Telerik. RadComboBox TextInput event does not work anymore. Is there something to do to fix it?

<telerik:RadComboBox IsEditable="True" x:Name="radCombo" Width="80" Cursor="Hand" SelectionChanged="radCombo_SelectionChanged" TextInput="radCombo_TextInput">
  <telerik:RadComboBoxItem Content="6" />
  <telerik:RadComboBoxItem Content="7" />
  <telerik:RadComboBoxItem Content="8" />
  <telerik:RadComboBoxItem Content="9" />
</telerik:RadComboBox>

8 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 04 Apr 2012, 01:00 PM
Hello Toni,

We were able to reproduce it and it the strange thing is that using the latest versions it works in Silverlight 4, but does not work in Silverlight 5. We have logged it our Public Issue Tracking System. We will research it further and you can monitor the progress of fixing it in the above PITS issue.

Greetings,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Pat
Top achievements
Rank 1
answered on 13 Dec 2012, 08:42 PM
I just noticed this after upgrading as well.
This has not been fixed since April?
Any plans of getting this done sooner or later?

Thanks
0
Georgi
Telerik team
answered on 18 Dec 2012, 01:43 PM
Hi Pat,

We have researched it further and we have found the core of the issue. So we will try to fix for our next major release  (Q1 2013) or the Service Pack after it.
If you have any other questions, please don't hesitate to write us.

Greetings,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Pat
Top achievements
Rank 1
answered on 18 Dec 2012, 02:30 PM
Thanks, looking forward to it.

For the moment I have a workaround listening for the 'enter' key but I'll keep this open as a reminder if you don't mind.

Thanks.
0
Georgi
Telerik team
answered on 20 Dec 2012, 07:39 AM
Hello Pat,

Thank you for the feedback.
We will also keep this open so you can track its progress and get notification when it is updated.

Kind regards,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Patrick
Top achievements
Rank 1
answered on 20 Jan 2014, 08:20 PM
Any update on this?

We would like the TextInput event as well. This is mostly because we need to handle text/keyboard entry and item selection based on user input. Normally we would use the built in feature of TextSearchMode, but this seems to fail to work if you use an item template and do not have DisplayMemberPath set (those conflict).

Thanks,
Patrick
0
Georgi
Telerik team
answered on 21 Jan 2014, 10:02 AM
Hello Patrick,

When we have debuged the issue we have found out that this is a framework change and the event is handled in Silverlight 5. In order to handle TextInput, you need to use AddHandler method and listen for the handled events too. For example:

this.combo.AddHandler(Control.TextInputEvent, new TextCompositionEventHandler(this.RadComboBox_TextInput), true);

Also, please note that you can use the filtering functionality without the DisplayMemberPath being set. So in order the filtering to know according to witch property to search and filter you need to set the
TextSearch.TextPath attached property to the RadComboBox :

<telerik:RadComboBox  telerik:TextSearch.TextPath="Name" ...

Hope this would help.

Regards,
Georgi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 1
answered on 21 Jan 2014, 03:04 PM
This helps, thanks very much.

-Patrick
Tags
ComboBox
Asked by
Tola
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Pat
Top achievements
Rank 1
Patrick
Top achievements
Rank 1
Share this question
or