TextBox style and the 3 extra fields

2 posts, 0 answers
  1. Anders Mad.
    Anders Mad. avatar
    42 posts
    Member since:
    May 2006

    Posted 17 May 2010 Link to this post

    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
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 18 May 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top