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

Horrible HTML

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
doug
Top achievements
Rank 1
doug asked on 09 Mar 2010, 01:31 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Mar 2010, 04:22 PM
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

http://blogs.telerik.com/dimodimov/posts/08-02-05/standard_compliant_radinput_with_no_tables.aspx

All the best,
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
General Discussions
Asked by
doug
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or