Hello,
Is there a way to get multiline text in the dropdownlist just like the radcombobox in the previous version? We are using the radcombobox in our project and we are testing the latest version on our project. I could not see how to do multiline text in the raddropdownlist. Please suggest me how to implement multiline text in raddropdownlist.
Thanks,
Ajay
Is there a way to get multiline text in the dropdownlist just like the radcombobox in the previous version? We are using the radcombobox in our project and we are testing the latest version on our project. I could not see how to do multiline text in the raddropdownlist. Please suggest me how to implement multiline text in raddropdownlist.
Thanks,
Ajay
6 Answers, 1 is accepted
0
Venkat
Top achievements
Rank 1
answered on 23 Aug 2010, 07:19 PM
Can anyone look into this post and suggest me as early as possible please. We need to determine if we need to go ahead with the latest version on rad controls.
Thanks,
Ajay
Thanks,
Ajay
0
Venkat
Top achievements
Rank 1
answered on 24 Aug 2010, 02:44 AM
can someone provide me an example of implementing multiline text in the winforms dropdown list.
Thanks,
Ajay
Thanks,
Ajay
0
Richard Slade
Top achievements
Rank 2
answered on 24 Aug 2010, 10:52 AM
Hi Ajay,
This should work for you.
Richard
This should work for you.
Richard
Me
.RadComboBox1.Items.Clear()
Me
.RadComboBox1.Text =
"Choose an item"
Me
.RadComboBox1.Items.Add(
New
Telerik.WinControls.UI.RadComboBoxItem(
"Some Text "
& Environment.NewLine &
"goes here"
))
Me
.RadComboBox1.Items.Add(
New
Telerik.WinControls.UI.RadComboBoxItem(
"More Text "
& Environment.NewLine &
"goes here"
))
Me
.RadComboBox1.SelectedIndex = 0
0
Venkat
Top achievements
Rank 1
answered on 24 Aug 2010, 03:32 PM
Hello Richard,
Thanks for replying. I have implemented the multiline text in combobox but i wanted to implement multiline text in the dropdownlist as the combobox is marked as obselete in the latest version of telerik controls. We are using the latest version of the Telerik rad controls and i need to somehow make the dropdown list look identical to the combobox we were using(combobox with short and long description).
I hope they might have came across this scenario when upgrading to dropdownlist.
Thanks,
Ajay.
Thanks for replying. I have implemented the multiline text in combobox but i wanted to implement multiline text in the dropdownlist as the combobox is marked as obselete in the latest version of telerik controls. We are using the latest version of the Telerik rad controls and i need to somehow make the dropdown list look identical to the combobox we were using(combobox with short and long description).
I hope they might have came across this scenario when upgrading to dropdownlist.
Thanks,
Ajay.
0
Richard Slade
Top achievements
Rank 2
answered on 24 Aug 2010, 04:31 PM
Ah, apologies. Still using the older version for the next couple of months.
Richard
Richard
0
Hi all,
Thanks for writing.
Yesterday we released an internal build (v2010.2.10.825) where there is e TextWrap property exposed at RadListDataItem.
As an alternative, you can subscribe to the VisualItemFormatting event and manually set Visual Item's TextWrap property to true.
I hope this helps.
Sincerely yours,
Peter
the Telerik team
Thanks for writing.
Yesterday we released an internal build (v2010.2.10.825) where there is e TextWrap property exposed at RadListDataItem.
As an alternative, you can subscribe to the VisualItemFormatting event and manually set Visual Item's TextWrap property to true.
I hope this helps.
Sincerely yours,
Peter
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