Setting height using css

2 posts, 0 answers
  1. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 05 Aug 2015 Link to this post


     How can I set the height using CSS?


    <telerik:RadListBox runat="server" ID="rlb" CssClass="height40" ><Items><telerik:RadListBoxItem Text="1" /><telerik:RadListBoxItem Text="2" /><telerik:RadListBoxItem Text="3" /><telerik:RadListBoxItem Text="4" /><telerik:RadListBoxItem Text="5" /><telerik:RadListBoxItem Text="6" /><telerik:RadListBoxItem Text="7" /></Items>     </telerik:RadListBox>

  2. Eyup
    Eyup avatar
    2942 posts

    Posted 10 Aug 2015 Link to this post

    Hello Morten,

    You can use the following rule to achieve that:
        .height40 .rlbGroup {
            height: 400px;

    Hope this helps. Please give it a try and let me know if it works for you.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top