Preventing the CDN script

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 27 Nov 2014 Link to this post

    I'm using the RadSiteMap in the context of the sitefinity breadcrumb widget...

    So I've overrode the widget itself and have tried everything I can think of to stop the script from loading, but nothing seems to work.

    Basically I just need to render out flat markup I dont need any client features of the widget...

    this.SiteMapBreadcrumb.RenderMode = RenderMode.Lightweight;
    this.SiteMapBreadcrumb.EnableEmbeddedScripts = false;
    this.SiteMapBreadcrumb.EnableEmbeddedSkins = false;
    this.SiteMapBreadcrumb.EnableEmbeddedBaseStylesheet = false;

    Is it possible?
  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 27 Nov 2014 in reply to Steve Link to this post

    Figured it out

    this.SiteMapBreadcrumb.Visible = false

    ...then just generate the markup myself by overriding the Render Method and looping through the nodes.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top