2 posts, 0 answers
  1. Saif
    Saif avatar
    1 posts
    Member since:
    Oct 2011

    Posted 29 Nov 2011 Link to this post

    More Information:
    It is reproducible when run under IIS.  Works fine during development while running under VS2010.  Thanks.

    I am getting InsecureExternalStyleSheetException while running Telerik's control in webform:

    [InsecureExternalStyleSheetException: The style sheet '/Styles/Site.css' is not located in any of the 'Style Sheet' folders designated in the web.config.] 
    Telerik.Web.UI.ExternalStyleSheetUtils.ResolveSecurePath(String styleSheetRelativePath) +386
    Telerik.Web.UI.StyleSheetReference.GetScriptEntry() +363
    Telerik.Web.UI.RadStyleSheetManager.RegisterValidStyleSheets(IList`1 styleSheets) +84
    Telerik.Web.UI.RadStyleSheetManager.Page_PreRenderComplete(Object sender, EventArgs e) +172
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4543

    Below is the app setting in my web.xml:
            <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
            <add key="Telerik.StyleSheetManager.TelerikCdn" value="Auto" />
            <add key="Telerik.Web.UI.StyleSheetFolders" value="~/Styles/;~" />
            <add key="Telerik.EnabledEmbedSkins" value="false" />
            <add key="Telerik.Skin" value="AuraGlass"/>

  2. Simon
    Simon avatar
    2281 posts

    Posted 30 Nov 2011 Link to this post

    Hi Saif,

    Could you also paste here the code of the RadStyleSheetManager and the StyleSheetReference objects added to it?

    Best wishes,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. DevCraft R3 2016 release webinar banner
Back to Top