Out Put Cache and Telerik Controls

2 posts, 0 answers
  1. Gary Wedekind
    Gary Wedekind avatar
    7 posts
    Member since:
    Dec 2004

    Posted 16 Aug 2012 Link to this post

    Hello all,
    I am trying to follow the tutorial that covers using Telerik Controls with Out Put Caching.
    I have Globally disabled embeddedScripts in the webconfig and I have copied the Entire Scripts Folder to a new Location. I use quite a few of the Controls in my project.

    I have set the references to the scripts as below in Script manager:
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/Core.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/Animation/AnimationScripts.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/jQuery.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/jQueryPlugins.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/Popup/PopupScripts.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Common/Scrolling/ScrollingScripts.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/Ajax/Ajax.js" />
    <asp:ScriptReference Path="~/CMSScripts/mosaicholidays/telerik/Scripts/PanelBar/RadPanelBarScripts.js" />

    The panel bar works but with some issues. My Panel bar has 3 levels
    The way I have it setup is that if you click on the down arrow it just expands the children as it should. However since using embeddedScripts="false" this behaviour has gone away and clicking on the Expand arrow now takes you to the link instead. 

    Panel Bar Layout example:

    Country <<--- The text is a link, but the arrow should just expand the resorts and not take you to the the link
      Resort 1
      Resort 2

    Also I cant get the Tabstrip to work either, which is another control on the same page. The tabs just anchor you back to the top of the page.

    Any Help would be appreciated 


    I am getting this error:
    SCRIPT5007: Unable to get value of the property '_getNeedsScrollExtender': object is null or undefined  RadPanelBarScripts.js, line 99 character 1
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 21 Aug 2012 Link to this post

    Hi Gary,

    In order for the different controls to work properly they need to have their scripts loaded. Please take a look at the following help article where it is described in details which scripts you need for the various controls:
    http://www.telerik.com/help/aspnet-ajax/introduction-disabling-embedded-resources.html

    Greetings,
    Kate
    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.
Back to Top