RadDock content overflow - no scroll bar

2 posts, 0 answers
  1. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 14 Jun 2011 Link to this post


    I'm having a formatting problem with a RadDock when the height is set explicitly using css - there is no vertical scrollbar when the content overflows the dock and the bottom border is cut off (see attached picture).  Relevant dock code is:

    <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
        <telerik:RadDockZone ID="dockzoneMain" runat="server" BorderColor="Transparent" Orientation="Horizontal">
            <telerik:RadDock ID="dockContent" runat="server" Skin="Sunset"
                Title="Network Access" EnableRoundedCorners="true" DefaultCommands="None" EnableDrag="false"
                 CssClass="dockTopLeft" >
                <div class="text_style">
                    blah blah blah

    The css is:

        width:385px !important;
        Height:350px !important;


    I believe the expected behaviour is to see a vertical scrollbar when all of the content does not fit in the dock - that is what I would like to achieve...When I remove overflow:hidden; from the css the bottom border is extended, which I don't want either...This happens in both IE8 and Chrome by the way.

    Question 2:
    Can I control RadDock properties such as EnableDrag and Skin from css or a centralized file? For instance if I wanted to set EnableDrag="false" for all of the RadDocks in my application?

    Thanks a lot,

  2. Pero
    Pero avatar
    1156 posts

    Posted 17 Jun 2011 Link to this post

    Hi Brian,

    Setting RadDock's width and height through CSS is not supported, because the RadDock dynamically computes its dimensions. Please use the Width and Height properties for this purpose.
    Regarding the second question you should use ASP.NET Themes to set the properties from a centralized location. Here is an article with more information on the subject: http://www.telerik.com/support/kb/aspnet-ajax/general/using-asp-net-themes-for-setting-radcontrols-properties.aspx.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. DevCraft R3 2016 release webinar banner
Back to Top