More in this section
Forums / Designing with Sitefinity / Lean site: How to disable Sitemenu Js or create basic list menu?

Lean site: How to disable Sitemenu Js or create basic list menu?

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Herdy Handoko
    Herdy Handoko avatar
    3 posts
    10 Sep 2009
    11 Apr 2010
    Link to this post
    Hi Telerik,

    I want my website to run as "lean" as possible. i.e. only a handful of scripts, optimised images, minified scripts + css.

    I'm currently using the Sitemenu controls, and while I can turn off the embedded CSS, I don't know how to turn off the scripts. The sitemenu controls includes 500kb script (100kb GZipped). With the kind of traffic I'm expecting, I'm wasting GBs each month for something I don't really need.

    Is there a way to disable the loading of embedded Sitemenu Js? Or, as an alternative... How do I create basic list menu? For example:

        <li class="selected">Homepage</li>
        <li>About Us</li>
        <li>Contact Us</li>

    Kind Regards,
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    11 Apr 2010
    Link to this post
    Hi Herdy Handoko,

    If you disable the scripts the RadMenu control will stop working properly. There is a way to do it and you can gather more information at Disabling embedded resources. I suggest that you should use the CDN support

    You could create your own menu control by building the html elements based on the SiteMap structure. You could use standard ASP.NET classes as SiteMapNode, SiteMapNodeCollection etc. You could also use ASP.NET Menu Control bound the the SiteMapDataSource.

    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered