RadRotator height ignored - vertical

4 posts, 0 answers
  1. Praveen Pawar
    Praveen Pawar avatar
    4 posts
    Member since:
    Jan 2010

    Posted 22 Feb 2010 Link to this post

    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.

  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 25 Feb 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 25 Feb 2010 Link to this post

    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.
  5. Praveen Pawar
    Praveen Pawar avatar
    4 posts
    Member since:
    Jan 2010

    Posted 28 Feb 2010 Link to this post

    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.
Back to Top