ComboBox TextInput event broken?

9 posts, 0 answers
  1. Tola
    Tola avatar
    3 posts
    Member since:
    Feb 2012

    Posted 02 Apr 2012 Link to this post

    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>
  2. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 04 Apr 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Pat
    Pat avatar
    4 posts
    Member since:
    Sep 2011

    Posted 13 Dec 2012 Link to this post

    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
  5. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 18 Dec 2012 Link to this post

    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.

  6. Pat
    Pat avatar
    4 posts
    Member since:
    Sep 2011

    Posted 18 Dec 2012 Link to this post

    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.
  7. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 20 Dec 2012 Link to this post

    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.

  8. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 20 Jan 2014 Link to this post

    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
  9. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 21 Jan 2014 Link to this post

    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 >>
  10. Patrick
    Patrick avatar
    43 posts
    Member since:
    Jan 2013

    Posted 21 Jan 2014 Link to this post

    This helps, thanks very much.

    -Patrick
Back to Top
DevCraft banner