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

RadRotator height ignored - vertical

3 Answers 67 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Praveen Pawar
Top achievements
Rank 1
Praveen Pawar asked on 22 Feb 2010, 09:59 AM

Hello,

I have found when trying to set the item height/height for the vertical display, the values I set get ignored.
Here's my code behind: 

rrSearchResults.ScrollDirection = RotatorScrollDirection.Down | RotatorScrollDirection.Up;
rrSearchResults.ItemHeight = 200;

 

rrSearchResults.Height = 200;

When the page gets rendered, he following divs all have a inline style applied to them, with a height of 160px - 
rrSearchResults, rrRelativeWrapper, rrClipRegion. There is nothing in my css that explicitly sets a height.

Anyone have any thoughts on what could be the cause of this? This works fine for the horizontal display as the inline-style height of 160px does not get set.

Thanks,
Praveen.

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 25 Feb 2010, 08:56 AM
Hello Praveen,

You are the first that reports such a behavior and I am not quite sure what is causing the problem on your side. This is why, could you please open a new support ticket and send me the project that reproduces the problem? I will debug it on my side and do my best to provide a solution as soon as possible.

Kind regards,
Fiko
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.
0
robertw102
Top achievements
Rank 1
answered on 25 Feb 2010, 05:12 PM
When you set rrSearchResults.Height = 200; is the RadRotator not taking into account the buttons that appear above and below the RadRotator control, so in essence it reduces the ItemHeight value? I think that may be it. Maybe you need to increase the height of the control to accommodate the button controls.
0
Praveen Pawar
Top achievements
Rank 1
answered on 28 Feb 2010, 06:25 AM
Hi,

I think I've tried this as well, by setting both the ItemHeight and Height to > 200, to take into account the height of the button controls.

I'll open a support ticket for this and post the relevant code.

Thanks your suggestion nonetheless.

Praveen.
Tags
Rotator
Asked by
Praveen Pawar
Top achievements
Rank 1
Answers by
Fiko
Telerik team
robertw102
Top achievements
Rank 1
Praveen Pawar
Top achievements
Rank 1
Share this question
or