Problem with RadRotator

2 posts, 1 answers
  1. Sergio
    Sergio avatar
    11 posts
    Member since:
    Feb 2009

    Posted 07 Sep 2009 Link to this post

    Dear Sirs,
    I am using the RadRotator to show some images (640x480).
    The ItemTemplate is a DIV with an image inside (no CSS applied).
    The rotator type is "buttons", Width and ItemWidth are 320 while Height and ItemHeight are 240.
    Scroll direction is left and right.
    The strange thing is that between the images a space is shown, like if it didn't slide of the correct wiidth.
    In this way, after scrolling to the left at every time the images are not centered, but shifted of a delta with respect of the margins.
    Why is that?
    Thank you very much for your help.
    Best regards.
  2. Answer
    Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 10 Sep 2009 Link to this post

    Hi Sergio,

    When setting ItemWidth, ItemHeight, Width and Height properties, please note that in case you have the buttons enabled for the rotator, you need to reserve 40px for them as well (the buttons are 20 pixels wide). So, if you have an ItemWidth of 200 pixels for example, your Width property should be set to 240 pixels.

    I hope this helps. If you still experience problems, please open a support ticket and send us a sample project that we could check locally.

    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top