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

Non W3C Compliant Attribute (XHTML Transitional 1.0)

1 Answer 19 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 31 Oct 2011, 06:11 AM
Hi,
I have a customer for which we a contractually bound to deliver a W3C compliant application.

We have used the RadChart on a page which is emmitting the following markup which is non-compliant:
onerror="if(confirm('Error loading RadChart image.\nYou may also wish to check the ASP.NET Trace for further details.\nDisplay stack trace?')
The onerror attribute is not a valid attribute for a div tag.
Can you please provide some guidance as to how we can make this compliant with XHTML Transitional 1.0.

1 Answer, 1 is accepted

Sort by
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 01 Nov 2011, 10:29 AM
Hello David,

You need to set debug=false in the web.config (compilation section) and RadChart will not generate the onerror attribute altogether.

Greetings,
Bart.
Tags
Chart (Obsolete)
Asked by
David
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or