Is there anything in-built that allows a user to resize a RadTextBox to the size of their liking? Or is there a way to make that work? Something that gives the user the ability to select the border of the textbox, and click and drag to resize?
Thanks.
3 Answers, 1 is accepted
0
Sebastian
Telerik team
answered on 14 Feb 2011, 10:20 AM
Hello Brian,
This is not supported by RadTextBox. The only option I can offer you is to use the textbox in multiline mode (if applicable) to accomodate long text strings and make them directly visible to the end user.
CSS3 does come with this functionality built in, and Firefox 4, as well as WebKit, set 'resize: both;' as the default for textarea elements. Unfortunately there seems to be something in RadTextBox which actively inteferes with this behaviour - resetting the size of the textarea with JavaScript based on some sort of interval. Is there a way for me to stop the RadTextBox resizing itself after the user has expanded the textarea?
If not it would seem like a sensible move for Telerik to add 'resize: none;' to the default CSS for RadTextBox textareas.
Rob
0
Galin
Telerik team
answered on 11 Apr 2011, 11:14 AM
Hello Rob,
In version 2011 Q1 the "resize:none" css rule is added to the default CSS for RadTextBox textarea, so now the textbox is not resizable by default due to valid reasons. However, in RadInputManager we keep the resizable attribute for the browsers which support it, as it is a User Agent feature.
If the "resize:both;" is enabled, you can limit the resizing size with "max-height" and "max-width" CSS attributes.
Kind regards,
Galin,
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