Error with empty rotator

2 posts, 0 answers
  1. Nimrod
    Nimrod avatar
    2 posts
    Member since:
    Apr 2008

    Posted 20 Dec 2008 Link to this post


    I'm using the telerik rotator to show content i bind manualy (using the asp binding syntax).
    The problem is that i get JS error when my data source has no element and the rotator is loaded empty.
    The error is thrown from the rotator scripts, on a method called "needsShift". It tries to get the size of the "_currentElement", and since this is "undefined" it throws an error at some point.

    I guess loading an empty rotator is possible, so maybe i am doing something wrong...
    What could be the problem?


    Nimrod Ben-Yaakov.
  2. Fiko
    Fiko avatar
    1406 posts

    Posted 23 Dec 2008 Link to this post

    Hello Nimrod,

    I am not quite sure if I understand correctly your setup. Could you please open a new support ticket and send us a small sample project that reproduces your scenario and the error you are talking about? We will check it and do our best to help.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top