Disabling EmbeddedScripts still serves a webresource file

2 posts, 0 answers
  1. deval
    deval avatar
    6 posts
    Member since:
    Sep 2010

    Posted 27 Dec 2010 Link to this post


    I disabled all EmbeddedScripts and style sheets for all telerik controls in my application and put everything in one combined file.
    Eveything works as expected, apart from the TreeView Control. Every page with the TreeView control still fetches a javascript file from the webresource handler
    function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
        this.eventTarget = eventTarget;

    I don't understand why, as every other telerik control I use (RadMenu, RadRotator, RadSlider etc.) behaves correctly and doesn't request any additional files.

    Below the settings I use
    <telerik:RadTreeView ID="categorynavigation"

    and the RadScriptManager in my master page
    <telerik:RadScriptManager ID="rsmMaster" runat="server" ScriptMode="Release"
                <CdnSettings TelerikCdn="Disabled" />

    To summarize, I don't want that any telerik control to request any files (js, css)

    Regards, Deval
  2. Simon
    Simon avatar
    2281 posts

    Posted 03 Jan 2011 Link to this post

    Hi deval,

    Indeed the script is still registered and it is unnecessary in this case. We will fix that so that when RadTreeView does not need to fire a post- or a call- back the script will not register.

    I updated your Telerik points for reporting this issue.

    All the best,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top