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

[Solved] Urgent help on two issues: Control doesn't validate XHTML

1 Answer 108 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ririck
Top achievements
Rank 1
ririck asked on 29 Sep 2007, 10:56 PM
Hi I am getting two issues with the editor control.
The major one is that the generated html for the editor doesn't validate as XHTML strict compliant.
To reproduce the problem just put an editor (Prometheus) control on a webform that has the XHTML Strict doctype. Run it, view the html source and paste the source to the w3c service at
http://validator.w3.org/#validate_by_input
You should get at least 3 errors.
Removing all the standard toolbars still gets me the  same errors.
I also think this is not only for the strict doctype.

I have also a second problem setting the background color of the control to white as it shows the background image it finds in the body of the webform.
To bypass the problem I used some javascript and the OnClientLoad client side function as described in the doc with the backgroundImage attribute of the style property set to none.
 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Oct 2007, 07:46 AM
Hi Riccardo,

Indeed, the markup comprising the interface of the RadEditor "Prometheus" is not yet XHTML 1.1 compliant, but this is in our ToDo list with high priority.

Regarding the second issue: we are glad that you have found how to solve the problem and actually the used solution was the exact same thing we were going to suggest.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
ririck
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or