greetings and thanks
5 Answers, 1 is accepted
The RadRotator control supports setting its Width property in percentage. Its width in this case is calculated from the width of its parent element. if the rotator is getting a higher width, most probably it comes from one of its parents that does not have a specific width. I would suggest checking for such element and setting its width either in percentage or in pixels.
I have attached a page that includes a responsive rotator, so that you can use it as a reference. In case you are still having difficulties, please send a fully runnable sample page that isolates the problem so that I can track the cause for the bigger rotator width.
Regards,
Slav
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
thanks
Hi Gustavo,
Once you can make the table provide dimensions, the rotator should be able to fit in it. The problem is that the table would, by default, stretch with its content, so the contents cannot be expected to resize to fit the table. I am attaching here a screenshot that illustrates this.
Therefore, I advise that you either make sure the table does not stretch (I am attaching an example), or adopt a more modern design approach like the divs my colleague Slav suggested in his previous post.
Regards,
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thank you very much, the code works all perfect
Regards