More in this section

Forums / Bugs & Issues / xhtml compliance

xhtml compliance

2 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    18 Jul 2012
    09 Dec 2008
    Link to this post
    I tried to find a master thread for compliance issues but didn't find one so I thought I'd start one. forgive me if it's already here somewhere and feel free to merge if necessary...

    I'm trying to ensure my site has xhtml transitional compliance, and so far everything looks good except for the pages with social bookmarks (events, news). these are rendering with the Title attribute capitalized (< a Title="facebook") and as a result are showing up as errors when validating.

    that's the only one i've encountered so far, but I can't seem to find a quick way to fix it as it appears this is set in the internal workings of sitefinity...
  2. Parvan
    Parvan avatar
    151 posts
    24 Sep 2012
    12 Dec 2008
    Link to this post
    Hello SelArom,

    Thank you for contacting us.

    The problem with Title attribute cannot be solved with editing templates, because especially Title attribute for social hyperlinks is not editable in the templates. We apologize for the inconvenience. We fixed this for the upcoming release.

    However we found a workaround, which fixes the problem (making Title attribute with lowercase letters):

    1. Open [your site]/App_Browsers/BrowserFile.browser and edit it (change only yellow line):
    <?xml version='1.0' encoding='utf-8'?>  
      <browser refID="Default">  
          <adapter controlType="System.Web.UI.HtmlControls.HtmlForm" adapterType="Telerik.Cms.Web.FormAdapter, Telerik.Cms" /> 
          <adapter controlType="System.Web.UI.WebControls.RadioButtonList" adapterType="Telerik.Cms.Web.UI.Adapters.RadioButtonListAdapter" /> 
          <adapter controlType="System.Web.UI.WebControls.HyperLink" adapterType="CustomAdapters.CustomHyperlinkAdapter,App_Code" /> 

    2. Add file CustomHyperlinkAdapter.cs (attached in zip) to [your site]/App_Code folder of your web site

    I hope this will help you.


    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered