This is a migrated thread and some comments may be shown as answers.

Using CSS to set width and height of editor window

1 Answer 29 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt Smith
Top achievements
Rank 1
Matt Smith asked on 21 Sep 2015, 07:06 PM

From what I have tried, it appears that you cannot set the width and height of many of the Telerik controls using CSS which makes it very difficult to create responsive sites.

 Is there a way to actually do this or is this a pipe dream?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 23 Sep 2015, 05:16 PM
Hi Matt,

The Telerik controls are usually rendered though complex element structure and this is why it is hard to set there size only through CSS styles. This is why we strongly advise to use each control's API when targeting a responsive layout (e.g. by setting the control's Width and Height property to 100%, making sure that all of its parents also have configured size).

You may also find useful information in the following article in order to know which controls actually support setting with and height in percent: Responsive, Adaptive and Elastic Capabilities

Regards,
Vessy
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
Matt Smith
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or