Resize Telerik RadRotator
I have used the RadRotator in my Sitefinity website. It displays news items from the backend. I have set an initial width when created the RadRotator. But it does not work well on all screen sizes. I need to resize the RadRotator depending upon the screen/browser size.
Please help me with it.
Hello,
You can do this by getting the screen resolution with javascript and passing the height and width to hidden input controls on the page. Then getting the values of those controls from code-behind and checking them, so you can apply the appropriate height and width. Check out this thread for suggestions.
Another suitable solution would be to directly get the screen size on the server-side. You can take a look at the following suggestion.