Radcombobox to raddropdown issue

7 posts, 0 answers
  1. venkat
    venkat avatar
    10 posts
    Member since:
    Sep 2008

    Posted 23 Aug 2010 Link to this post

    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
  2. venkat
    venkat avatar
    10 posts
    Member since:
    Sep 2008

    Posted 23 Aug 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. venkat
    venkat avatar
    10 posts
    Member since:
    Sep 2008

    Posted 23 Aug 2010 Link to this post

    can someone provide me an example of implementing multiline text in the winforms dropdown list.

    Thanks,
    Ajay
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 24 Aug 2010 Link to this post

    Hi Ajay, 

    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
  6. venkat
    venkat avatar
    10 posts
    Member since:
    Sep 2008

    Posted 24 Aug 2010 Link to this post

    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.
  7. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 24 Aug 2010 Link to this post

    Ah, apologies. Still using the older version for the next couple of months. 
    Richard
  8. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 26 Aug 2010 Link to this post

    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
    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready