Simon yang
Top achievements
Rank 1
Simon yang
asked on 04 Mar 2010, 07:21 AM
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?
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?
4 Answers, 1 is accepted
0
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.
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.
0
Simon yang
Top achievements
Rank 1
answered on 04 Mar 2010, 08:20 AM
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'.
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'.
0
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.
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.
0
Simon yang
Top achievements
Rank 1
answered on 04 Mar 2010, 10:03 AM
But I need this behavior.OK,I will try another method.