Non W3C Compliant Attribute (XHTML Transitional 1.0)

Thread is closed for posting
2 posts, 0 answers
  1. David
    David avatar
    87 posts
    Member since:
    Jul 2010

    Posted 31 Oct 2011 Link to this post

    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.
  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 01 Nov 2011 Link to this post

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