Using CSS to set width and height of editor window

2 posts, 0 answers
  1. Matt Smith
    Matt Smith avatar
    21 posts
    Member since:
    Dec 2005

    Posted 21 Sep 2015 Link to this post

    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?

  2. Vessy
    Vessy avatar
    2413 posts

    Posted 23 Sep 2015 Link to this post

    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

    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
Back to Top