GridTableView W3C errors

4 posts, 0 answers
  1. Neven
    Neven avatar
    3 posts
    Member since:
    Jul 2016

    Posted 25 Oct Link to this post

    Hi,

    Today I have used HTML validator (https://validator.w3.org/) to check if I have any errors and found that there is summary attribute rendered inside of a table element which, according to the validator, is obsolete and instead of summary attribute, caption element should be used. Tried fixing this myself and found that however I set up GridTableView it always renders that summary attribute - internally summary attribute is always rendered. I would like to know how to solve that issue if it is possible to do so now or, if not, I would like to report it as an issue. (We are using Version 2016.2.607.45 of Telerik.Web.UI - Telerik UI for ASP.NET AJAX)

    Thank you for your help.

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 28 Oct Link to this post

    Hi Neven,

    Would you set the RenderMode for the components to Lightweight. This mode is using semantic HTML and CSS3. Moreover, with this mode you can easily customize the appearance of the components.

    For additional information on the different RenderModes please examine the following article.



    Regards,
    Viktor Tachev
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Neven
    Neven avatar
    3 posts
    Member since:
    Jul 2016

    Posted 02 Nov in reply to Viktor Tachev Link to this post

    Tried finding RenderMode and could not find. Afterwards I saw on one of your pages that there RenderMode does not exist for GridTableView (here is the link http://docs.telerik.com/devtools/aspnet-ajax/mobile-support/render-modes). Is there any other way to fix this?
    Thank you.
  5. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 07 Nov Link to this post

    Hello Neven,

    In order to activate the Lightweight RenderMode for the controls you need to add the following code to the web.config file.


    <appSettings>
        <add key="Telerik.Web.UI.RenderMode" value="lightweight" />
    </appSettings>


    In case you do not see Lightweight mode as an option please upgrade the controls to the latest version. The current release of the controls is 2016.3.1027.


    Regards,
    Viktor Tachev
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Back to Top