This is a migrated thread and some comments may be shown as answers.
Width and Height of a Dock
1 Answer 27 Views
This is a migrated thread and some comments may be shown as answers.
Alec
Top achievements
Rank 1
Alec asked on 10 Jul 2009, 04:01 AM
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?

1 Answer, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 14 Jul 2009, 01:17 PM
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.
Tags
Dock
Asked by
Alec
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Share this question
or