Alternative ASP.NET Menu Control - Accessible and Standards Compliant

Rate It (1)

Last post 12-16-2009 6:40 AM by jeremydramos. 2 replies.

Sort Posts:

  • Alternative ASP.NET Menu Control - Accessible and Standards Compliant

    11-18-2009, 5:02 AM
    • Member
      5 point Member
    • jeremydramos
    • Member since 10-16-2009, 10:35 AM
    • Dublin, Ireland
    • Posts 9

    Hi ALL,

     

    I am just submitting this for information, also to add a relevant topic within asp.net forums for search engine searches regarding an alternative ASP.NET Menu control that is accessible and standards compliant.

    First of all, I would like to thank Chris Love for his comment on one of my posts which introduced me to the CSS friendly Menu Control.

    The built-in ASP.NET Menu control is encapsulated as a menu of browser incompatibilities and accessibility problems.

    The CodePlex community has developed a CSS adapter solution for ASP.NET menu control (and lots of other control i.e. Tree view, Grid view etc.) to override its rendering mechanism using plainly stylesheets and C# compiled javascripts. I have tested its compatibility and accessibility and worked seamlessly compliant to WCAG.

    You can download this in http://cssfriendly.codeplex.com/

    This is very simple to implement in just 4 easy steps:

    1. Add a reference to your CSSFriendly.dll in your project
    2. Create a .browser file (you can copy the content from the download file) - this basically tells your control to inherit itself from your adapters
    3. Link a stylesheet to your page - this is where you will define the style of your menu
    4. On your menu control, add this attribute in <asp:Menu> tag: CssSelectorClass="YourCSSFriendlyMenuStyle"

    The download file contains all the information you will need including full control on customization.

    I hope this will prove helpful as reference to all especially to search engine searchers.

     

    Best regards,

    Jeremy Ramos

  • Re: Alternative ASP.NET Menu Control - Accessible and Standards Compliant

    12-14-2009, 12:46 PM
    • Member
      14 point Member
    • tdykstra
    • Member since 12-08-2008, 7:53 PM
    • Posts 2
    • AspNetTeam

    In case you were not aware, the ASP.NET 4 version of the ASP.NET Menu control has been completely rewritten to make its HTML output accessible and standards compliant.  For more information, see

    http://msdn.microsoft.com/en-us/library/s57a598e(VS.100).aspx

     

    Filed under:
  • Re: Alternative ASP.NET Menu Control - Accessible and Standards Compliant

    12-16-2009, 6:40 AM
    • Member
      5 point Member
    • jeremydramos
    • Member since 10-16-2009, 10:35 AM
    • Dublin, Ireland
    • Posts 9

    tdykstra:

    In case you were not aware, the ASP.NET 4 version of the ASP.NET Menu control has been completely rewritten to make its HTML output accessible and standards compliant.  For more information, see

    http://msdn.microsoft.com/en-us/library/s57a598e(VS.100).aspx

     

     

    Thanks for the information tdykstra. Yes I am aware of this. It is great that you pointed this out for people referencing here in this thread. Cheers mate.

    Filed under:
Page 1 of 1 (3 items)