MultiLine (Editorbox) RadDropDownList

2 posts, 0 answers
  1. Ahmuser
    Ahmuser avatar
    11 posts
    Member since:
    Jun 2010

    Posted 18 May 2011 Link to this post

    Is there any way to make the editorbox Multiline.

    The problem is some of my items (in the collection) are over two lines.  When the two line item is selected the item appears in the editorbox - but only the first line appears.  Is there any way to get the editorbox to show two or more lines.

    Furthermore, is it possible to show the editorbox with the picture associated with the item?

    Many thanks.
  2. Peter
    Peter avatar
    1153 posts

    Posted 23 May 2011 Link to this post

    Hello Ahmuser,

    We support this functionality only when RadDropDownStyle is set to DropDownList mode. In this mode we support images in RadDropDownList. This property determines whether the text area at the top of the control can be edited. A setting of DropDown (which is the default setting) allows editing and the DropDownList setting shows the text area as read-only.

    You should set these properties to allow multi-line text support:

    this.radDropDownList1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
    this.radDropDownList1.AutoSizeItems = true;

    I hope this helps. 

    Best wishes,
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Back to Top