Width and Height of a Dock

2 posts, 0 answers
  1. Alec
    Alec avatar
    43 posts
    Member since:
    Mar 2009

    Posted 09 Jul 2009 Link to this post

    Whenever I set the width and height of a dock, it will hide the dock's title and all controls in it and just appear as a grey block. Is there anyway to give a size to it while still showing its content fine as appearing in an overflowed container?
  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 14 Jul 2009 Link to this post

    Hi Alec,

    I'm afraid that I can't understand what you mean. I tried the following code and everything seems to be fine:

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">    
        
    <html xmlns="http://www.w3.org/1999/xhtml" >    
    <head id="Head1" runat="server">     
        <title>Untitled Page</title>    
    </head>    
    <body>    
        <form id="form1" runat="server">     
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>    
        <div>    
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server">   
            <telerik:RadDockZone ID="RadDockZone1" runat="server" FitDocks="false">  
                <telerik:RadDock ID="RadDock1" runat="server" Width="200px" Height="200px" > 
                    <TitlebarTemplate> 
                        <input type="button" value="button" /> 
                    </TitlebarTemplate> 
                    <ContentTemplate> 
                        aaa  
                    </ContentTemplate> 
                </telerik:RadDock>    
            </telerik:RadDockZone>    
        </telerik:RadDockLayout>    
        
        </div>    
        </form>    
    </body>    
    </html>    
        
     

    Please open a new support thread and send us a simple running project and screenshots which will help us reproduce the problem on our side. 

    Greetings,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top