This is a migrated thread and some comments may be shown as answers.

Problem with RadRotator

1 Answer 63 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 07 Sep 2009, 10:24 PM
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.
Sergio

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 10 Sep 2009, 08:22 AM
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.

Regards,
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.
Tags
Rotator
Asked by
Sergio
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or