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

RadFormDecorator & MultiLine textboxes with no scrollbars, etc.

2 Answers 134 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Clarence
Top achievements
Rank 1
Clarence asked on 24 Dec 2008, 08:03 PM
I seemed to be experiencing a problem that I cannot find an answer for. 

Here is my scenario:

I am using  this release: 2008.31125.
I have the following Rad Components on my page (in this order):
RadScriptManager - (Using default settings, has one external script file with not much script)
RadSkinManager - (Using the Office2007 Skin)
RadStyleSheetManager - (Using default settings)
RadFormDecorator - (All controls are decorated except H4H5H6 controls)
RadAjaxPanel - (Contains a formview)

Problem Prelude:

Inside the RadAjaxPanel, I have a formview which has multiline textboxes. I converted these textboxes from RadTextBoxes to regular Texboxes because RadTextBoxes are slow when typing LOTS of text (there was a 1-2 delay before typing appeared). 

The Problem:
Even after removing the RadSkinManager, RadStyleSheetManager, and RadFormDecorator, the multiline textboxes appear, but they do not have a scrollbar even though there should be one and there is one when I remove the RadFormDecorator.

Additional Example: 
I thought that I would add that the about you box on this page has the same problem:
http://demos.telerik.com/aspnet-ajax/FormDecorator/Examples/StyleSheetManagerAndCombo/DefaultCS.aspx

Final Note:  I'm starting to wonder why the RadFormDecorator would allow you to scroll in a multiline textbox using the up and down arrows or by highlighting and dragging the text in the direction you want to go, but not allowing you to use your mouse to scroll and not presenting a scrollbar just seems like a hassle. Is there a way around this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 29 Dec 2008, 09:38 AM
Hello Clarence,

When decorating multiline textboxes we are removing the scrollbars for aesthetic reasons. The scrollbars can be decorated only in IE and even there they don't look good decorated because in our skins we are using rounded corners and scrollbars cannot use them.
If you still want to enable the scrollbars in decorated textboxes, you can use the following style:
textarea 
   overflow:visible !important; 

As an alternative you can exclude the textboxes from the decorated controls' group - I assume that you have set DecoratedControls to All. Set it to Default and the textboxes will not be decorated any more.


Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Clarence
Top achievements
Rank 1
answered on 07 Jan 2009, 04:27 PM
Thanks for the response.  I guess this means that the decorated textarea is only useful if you make it big enough so no one has to scroll.
Tags
FormDecorator
Asked by
Clarence
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Clarence
Top achievements
Rank 1
Share this question
or