Editable Combobox issue with the beginning of long text

5 posts, 0 answers
  1. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 04 Mar 2010 Link to this post

    I have a combobox ,I set width 120.It has items below:

    A book with interesting story
    The High school of JingHua
    Zoom Zoom kkkkkkkkkkkkkk

    When I Choose the Item 'A book with interesting story',It Only display the last part ' interesting story'.But I want it display the first part of the item 'A book with '.How can I do this?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 04 Mar 2010 Link to this post

    Hi Simon,

    The problem is caused by RadComboBox when it selects the text in its TextBox when it gets the focus. This behavior could be changed by setting the SelectAllTextEvent property to None. I suppose that you will have to download the latest internal build, though:
    http://www.telerik.com/account/downloads/internal-builds.aspx

    Greetings,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 04 Mar 2010 Link to this post

    Thanks for you quick reply!
    But it didn't work in my last example.when I type 'a' in combobox,it can AutoComplete to choose 'A book with interesting story',it also only display the last part ' interesting story'.
  4. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 04 Mar 2010 Link to this post

    Unfortunately you cannot avoid this behavior, unless you disable the autocomplete by setting IsTextSearchEnabled=false.

    Greetings,
    Valeri Hristov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Simon yang
    Simon yang avatar
    15 posts
    Member since:
    Sep 2009

    Posted 04 Mar 2010 Link to this post

    But I need this behavior.OK,I will try another method.
Back to Top