Adding Kendo CSS in Sitefinity 8.0 - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Adding Kendo CSS in Sitefinity 8.0

  • Adding Kendo CSS in Sitefinity 8.0
  • Hi, 

    I have been trying to add kendo.common.css and kendo.default.css from sitefinity 8.0 using Resource links. 

    This is the following code snippet i used for the same:

     <sf:ResourceLinks ID="resourcesLinks" runat="server">
                <sf:ResourceFile JavaScriptLibrary="JQuery" />
                <sf:ResourceFile JavaScriptLibrary="KendoAll" />
                <sf:ResourceFile Name="Telerik.Sitefinity.Resources.Scripts.Kendo.styles.kendo_common_min.css" Static="True" />
                <sf:ResourceFile Name="Telerik.Sitefinity.Resources.Scripts.Kendo.styles.kendo_default_min.css" Static="True" />
            </sf:ResourceLinks> 

     

    But the CSS files are not getting loeaded. Can any one please help me out. ? What is going wrong here? 

     

  • I found it referenced in one of the templates like this

     

    <sitefinity:ResourceLinks ID="resourcesLinks" runat="server" UseEmbeddedThemes="true" Theme="Default">
        <sitefinity:ResourceFile Name="Telerik.Sitefinity.Resources.Scripts.Kendo.styles.kendo_common_min.css" Static="True" />
    </sitefinity:ResourceLinks>
  • Thanks Steve, I will try this one.