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

TextBox style and the 3 extra fields

1 Answer 16 Views
Input
This is a migrated thread and some comments may be shown as answers.
Anders Mad.
Top achievements
Rank 2
Anders Mad. asked on 17 May 2010, 07:39 PM
Is there any reason why the extra input elements (automatically added) on a simple textbox has the rather long style "visibility:hidden; margin:-18px; ...." when a simple "display:none" would to the trick? The problem is, that "visibility:hidden" will cause the browser to layout - and in my case create some funky forms in some browsers - where "display:none" will not cause layout.. And if the input is never used for display (is it?), why not input:hidden just then.. Css: ".rdfd_ { display: none; }" hacks this for now..

And why are there added 3 extra form fields for one textbox field - what are they used for? Seems rather hefty...

/Anders

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 18 May 2010, 09:19 AM
Hi Anders,

We do not use display:none, because it will break callout extenders and similar controls, which rely on positioning with regard to the RadInput client object element (which is not seen by the user).

If you are not using such tools, you can add .rdfd_{display:none} safely.

http://www.telerik.com/help/aspnet-ajax/input_appearancecssfile.html

Best wishes,
Dimo
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.
Tags
Input
Asked by
Anders Mad.
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or