Animation Scripts Problem

4 posts, 0 answers
  1. Deni
    Deni avatar
    12 posts
    Member since:
    Aug 2010

    Posted 23 Sep 2010 Link to this post

    I have upgraded telerik components from 2009.2.701.35 to 2010.2.826.35 

    and nowreferencing the javascripts for Animation on Page causes out of 
    memory exception on tool tip show
    <asp:ScriptReference 
    Path="~/RadResources/Scripts/Common/Animation/AnimationScripts.js" />
    if i remove the reference, this doesn't happen and animation seems ok and no memory exception happens. 
    am i missing some other reference that might be causing this error or should i remove the reference everywhere?
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 28 Sep 2010 Link to this post

    Hello Deni,

     Would you please provide more details about the exact error you receive? I pre[pared a test demo and tested it with the mentioned 2010.2.826 version of RadControls but unfortunately to no avail - everything is working fine. I attached my demo for your reference, please let me know if I am doing something wrong and instruct me how to reproduce the issue. Once I am able to observe the problem I will do my best to help.



    All the best,

    Svetlina
    the Telerik team

     

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Deni
    Deni avatar
    12 posts
    Member since:
    Aug 2010

    Posted 28 Sep 2010 Link to this post

    the problem was that i forgot to set the property

    EnableEmbeddedScripts

     

    ="false"
    thanks for the response.

  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 28 Sep 2010 Link to this post

    Hello Deni,

     Indeed, when you want to reference only specific js files and not to load them through the dll you should set EnableEmbeddedScripts to false. Otherwise you will get duplicate files - once inserted by the dll and once by the manual reference.

    More information is available below:

    http://www.telerik.com/help/aspnet-ajax/disabling_embedded_resources.html

    All the best,
    Svetlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top