Breaking Change?

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 13 Jun 2013 Link to this post

    I use local copies of your std skin files so I can make subtle changes.

    I have just installed the latest release, and all my button controls have lost their CSS styling - see image.

    What has changed?

  2. Bozhidar
    Bozhidar avatar
    677 posts

    Posted 14 Jun 2013 Link to this post


    I can't tell what should be the problem only form the screenshot, but I guess it should be that: [Breaking Change] Since Q1 2013 RadButton's rendering is HTML5 compliant .

    And I will paste the info from the forum also here:

    Since Q1 2013, the wrapping element of RadButton was changed from an anchor <a> tag to a <span> because the HTML5 specification does not allow nesting <input> elements into <a> tags. If you are using any custom CSS cascades based on the <a> tag, they should be changed to use the <span> tag, e.g.

    Old syntax:
    a.RadButton .rbDecorated
          color: red;

    New syntax:
    span.RadButton .rbDecorated
          color: red;

    You should not experience problems in custom styling scenarios when an anchor was not used in the CSS cascade.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top