Horrible HTML

2 posts, 0 answers
  1. doug
    doug avatar
    4 posts
    Member since:
    May 2009

    Posted 09 Mar 2010 Link to this post

    How do you answer the question - why does controls like an Text box generate (such horrible html) of tables instead of a <input text box.
    Its no good saying cos it can connect to a WCF source or do google style predictive searches.
    What we have done is to have a designer is to look at the rendered HTML+css and then alter the .ri classes.
    I know I could use the form decorator for some but there seems to be a lack of understanding of the benefit of using say the RadInput controls.
    The most irritating is to create a search text box with a seprate button, or a input box with error icons next to it or a checkbox with label centered and error icon (eg you must tick the T&Cs) all in a line, eg text-align.
    The bit about internationalization or accessiblity its stony ground.

    What can you suggest?
  2. Dimo
    Dimo avatar
    8318 posts

    Posted 09 Mar 2010 Link to this post

    Hi Doug,

    RadTextBox renders a <table> only if you set the Label or ShowButton="true". For more information about how to use it without a table, please refer to


    All the best,
    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. DevCraft R3 2016 release webinar banner
Back to Top