For Kendo UI, the following files are included automatically (defined in the extension):

1
2
3
                "js/kendo.all.min.js",
                "styles/kendo.common.min.css",
                "styles/kendo.default.min.css"

In general, you can override the base URL from where dependent resources for a given extension are pulled in from, by adding an application setting to Web.Config, mapping the full name of the appropriate extension resource type to the relative path within the web application:

1
2
3
4
    <appSettings>
        <add key="IntelliFactory.WebSharper.KendoUI.Resources.KendoUI" value="/js/kendoui"/>
        ...
    </appSettings>

Now, if you wanted to override a given tracked file you can always do so by providing a local copy in its place - as long as the original file name is kept. This is not very elegant, however. A more robust approach would be to define a new resource, say on your derived Kendo UI utility library, which would then be included automatically whenever you use this library.

By on 2/4/2012 3:55 PM ()

Thanks! I was just coming to post a reply. We had gotten so far as the <appSettings> option to provide a new root content path and the "not so elegant" approach to rename the stylesheets we want to the automatically included ones.

The new resource definition approach sounds like the way to go, though. I'll look into that further.

Thanks again for the quick response.
-Rose

By on 2/4/2012 5:34 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper