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 ?
Thanks.
1 Answer, 1 is accepted
0
Tsvetie
Telerik team
answered on 01 Aug 2008, 01:41 PM
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.
Greetings,
Tsvetie
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.