row of radCombobox in one line

6 posts, 0 answers
  1. Adrien
    Adrien avatar
    9 posts
    Member since:
    Feb 2016

    Posted 22 Feb Link to this post

    I would like than the text of a row must just on one line.

    Sometimes, the size text are so important and I would like to cut the text after 100px by exemple and don't put on line (by default).

    Any ideas to resolve my problem?

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    287 posts

    Posted 24 Feb Link to this post

    Hi Adrien,

    You can apply the following custom CSS rules in order to achieve the desired appearance:
    .RadComboBoxDropDown .rcbItem,
    .RadComboBoxDropDown .rcbHovered,
    .RadComboBoxDropDown .rcbDisabled,
    .RadComboBoxDropDown .rcbLoading,
    .RadComboBoxDropDown .rcbCheckAllItems,
    .RadComboBoxDropDown .rcbCheckAllItemsHovered {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    I hope that the above helps you.

    Regards,
    Veselin Tsvetanov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adrien
    Adrien avatar
    9 posts
    Member since:
    Feb 2016

    Posted 24 Feb Link to this post

    Nice, It's perfect :)
  5. Adrien
    Adrien avatar
    9 posts
    Member since:
    Feb 2016

    Posted 25 Feb Link to this post

    It's possible to have the same concept for RadAutoCompleteBox?
  6. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    287 posts

    Posted 26 Feb Link to this post

    Hello Adrien,

    You could use the same approach for RadAutoCompleteBox:
    .RadAutoCompleteBoxPopup .racItem {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    Regards,
    Veselin Tsvetanov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  7. Adrien
    Adrien avatar
    9 posts
    Member since:
    Feb 2016

    Posted 26 Feb Link to this post

    Thanks Again :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017