Message: 'this._getAnimationQuery()' is null or not an object

5 posts, 0 answers
  1. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 08 Nov 2010 Link to this post

    Hello Randy Weaver,
    I tried to reproduce the problem with our online demo (http://demos.telerik.com/aspnet-ajax/rotator/examples/carouselmode/defaultcs.aspx), but to no avail. My very first thought, was that there is a problem in case there are no items in the rotator. However, removing the items from the demo did not lead to the JS error that you get as well.

    I can recall that we had a problem with a rotator with no items in a previous version of the Telerik.Web.UI assembly, but you have specified that you are using the latest version. That is why, I will need some additional information in order to help you. Could you please specify the exact version of the assembly that you use, the browser and the browser version, the number of items you have in the rotators and send us your rotator definition. It will be best, if you open a formal support ticket and send us a running test project that demonstrates the error.

    All the best,
    Tsvetie
    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
  2. UI for ASP.NET Ajax is Ready for VS 2017
  3. Randy Weaver
    Randy Weaver avatar
    3 posts
    Member since:
    May 2010

    Posted 08 Nov 2010 Link to this post

    Can you tell me what is required to implement this control?

    Here's the prep...

    1. I put the RadScriptManager control on the master page.

    2. I used the "smart" thing to add the web.config settings to the project.

    3. Added the RadRotator to the child page.

    I have 4 items on the screen but they don't appear to look like a "carousel"... they look like they are tiled.

    Anyway... am I missing a "step" in setting this up?  where is the "_getAnimationQuery()" supposed to be?  what loads this function?

    -Randy
  4. Randy Weaver
    Randy Weaver avatar
    3 posts
    Member since:
    May 2010

    Posted 09 Nov 2010 Link to this post

    Okay... I got past the "_getAnimationQuery()" problem by reinstalling the latest version but I have a new problem now.

    On initial load, the items appear tiled (not carousel... and the buttons on the left and right don't appear to do anything).  however, once I click BACK in my browser then FORWARD, they appear & work correctly.

    Is this a javascript timing issue?

    My script manager control is in my master page and my RadRotator is in a usercontrol that lives on a content page.

    I'm setting the datasource and binding in the page_load event of the user control.

    Thanks,
    Randy
  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 10 Nov 2010 Link to this post

    Hi Randy Weaver,
    Your setup is correct. Could you please check for JS errors. In case there is an error on your page, it will prevent the carousel functionality of the rotator from working. As you can see on our carousel demo - http://demos.telerik.com/aspnet-ajax/rotator/examples/carouselmode/defaultcs.aspx, we are using the same approach as you and the demo works as expected.

    In case my assumption is not correct, please open a formal ticket and send us your code, so that we can check what causes the described problem.

    Sincerely yours,
    Tsvetie
    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
UI for ASP.NET Ajax is Ready for VS 2017