Rotatar error on dynamic width

2 posts, 0 answers
  1. Tony Polad
    Tony Polad avatar
    19 posts
    Member since:
    Apr 2009

    Posted 30 Jul 2008 Link to this post


    The rotator is inside a splitter.

    I set the rotator width = "95%" and it come out with error.
    But, if I set the rotator width with fix number ie. width = "400px", its fine.

    any work around ?

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 01 Aug 2008 Link to this post

    Hi Susanto Siman,
    This behavior is by design - the way we have implemented RadRotator for ASP.NET AJAX - to keep the rotator parts - buttons/viewport, always in pixels, led to the decision that the rotator should not support setting these properties in percents. At least for the time being.

    Generally, you can implement this yourself, by calculating the correct size of the rotator every time its parent RadPane resizes, but the set_width and set_height client methods of the RadRotator are not yet implemented and you can only set the Width/Height of the control on the server. That is why I cannot offer you a workaround for the time being.

    the Telerik team

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