Setting Height Explicitly

4 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 10 Aug 2010 Link to this post

    Hello,

    I set the RadToolbar height to 30px, but this appears to set it for the inner DIV,not the outer wrapper div, and so the actual toolbar height is 34 px according to IE.  Is there a way to set the height on the outer element instead, whether there is a property, a CSS way?  I also have a wrapping <div> around the toolbar with an explicit height, but still a no go.

    Thanks.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Aug 2010 Link to this post

    Hello Brian,

    This neatest way to accomplish this requirement is to customize your skin using visual style builder. Let us know if you need more help with this.

    Greetings,
    Peter
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 18 Aug 2010 Link to this post

    I switched to the RadMenu, which fit my needs better anyway...  seems like a bug though, that the Height doesn't constrain the overall height.. IMHO.
  5. Tom
    Tom avatar
    44 posts
    Member since:
    Oct 2010

    Posted 27 Jun 2013 Link to this post

    Try this in the code behind:

    rtbarId.Attributes.Add("Style", "height: 30px;");
    where rtbarId is the ID of your ToolBar control.
Back to Top