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

Expanding editor

2 Answers 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 21 Jan 2010, 04:25 PM
Is it possible to get the RadTextBox to expand vertically as you enter your text? We currently use a lot of ASP.NET text boxes that have the following style applied:

textarea.multiline {
    overflow-y: visible
}

With this style applied the text box expands vertically when the text reaches the right hand side of the control or when the user presses enter. It would be nice if we could get the same behavior from the editor.

Thanks,
Joe

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 22 Jan 2010, 05:35 PM
I think you're looking for the "AutoResizeHeight" property of the RadEditor. Have you attempted to set this property to true? Since the Editor is an IFrame the overflow CSS rule cannot be applied to it, but Telerik has provided their own method of achieving the behavior you are describing.
0
Joe
Top achievements
Rank 2
answered on 22 Jan 2010, 06:44 PM
Thanks! That is indeed what I was looking for.

Joe
Tags
Editor
Asked by
Joe
Top achievements
Rank 2
Answers by
Schlurk
Top achievements
Rank 2
Joe
Top achievements
Rank 2
Share this question
or