This is a migrated thread and some comments may be shown as answers.

MultiLine (Editorbox) RadDropDownList

1 Answer 208 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Ahmuser
Top achievements
Rank 1
Ahmuser asked on 18 May 2011, 10:53 PM
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.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 23 May 2011, 10:22 PM
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,
Peter
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.
Tags
DropDownList
Asked by
Ahmuser
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or