This is a migrated thread and some comments may be shown as answers.

Why i need to expand twice when Collapsed="false

2 Answers 46 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Luc Émond
Top achievements
Rank 1
Luc Émond asked on 08 Jul 2015, 11:25 AM

 Hi,

 I am using RadDockLayout with userControl. I want all my dock to be close when my page load.
 I use Collapsed="false" but here my problem if i do that 
 The problem is is that i need to expand each section twice or there nothing showing from the usercontrol.
 If i click once the RadDock it will open just a little bit and then i need close it and expand again.
 Then everything is fine.
 Any idea why?

Tks

 

<%@ Register Src="~/information/profil/control/resultats.ascx" TagName="Profil" TagPrefix="uc2" %>
<%@ Register Src="~/information/profil/control/action_one_eleve.ascx" TagName="action_one_eleve" TagPrefix="uc2" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     
   
 
     <div class="boxLessSpaceV">
             <i class="fa fa-user fa-2x"></i> <asp:Label ID="lblName" CssClass="TitlePage" runat="server" Text="Profil - Luc Emond"></asp:Label>
                <hr />
               <uc2:menuProfil ID="menuProfil" runat="server" />
             <hr />
         </div>
 
   
     
            <telerik:RadDockLayout runat="server" ID="RadDockLayout1" EnableEmbeddedSkins="true" Skin="Metro">
            <div>
                <table style="padding: 0px;border-collapse: collapse; border-spacing: 0;">
                    <tr>
                        <td style="width: 222px;">
                            <telerik:RadDockZone runat="server" ID="RadDockZone1" Skin="Metro" Orientation="vertical" Style="border: 0;width: 700px;height:500px;">
                                <telerik:RadDock runat="server" ID="UserInfo" Collapsed="false" EnableDrag="false" Title="Résultats" Width="700px" Height="500px" EnableAnimation="true">
                                    <ContentTemplate>
                                        <uc2:Profil ID="ProfilControl" runat="server"></uc2:Profil>
                                    </ContentTemplate>
                                </telerik:RadDock>
                                <telerik:RadDock runat="server" ID="RadDock1" EnableDrag="false" Collapsed="false" Title="Actions " Width="700px" Height="500px" EnableAnimation="true">
                                    <ContentTemplate>
                                        <uc2:Profil ID="Profil1" runat="server"></uc2:Profil>
                                    </ContentTemplate>
                                </telerik:RadDock>
                            </telerik:RadDockZone>
                        </td>
                    </tr>
                </table>
            </div>
        </telerik:RadDockLayout>
     
 
</asp:Content>

2 Answers, 1 is accepted

Sort by
0
Luc Émond
Top achievements
Rank 1
answered on 08 Jul 2015, 11:41 AM

Sorry i mean Collapsed="true" and not Collapsed="false"

So please change Collapsed="true

Tks
                                   

0
Luc Émond
Top achievements
Rank 1
answered on 08 Jul 2015, 12:42 PM

I fix my problem!

Tks

Tags
Dock
Asked by
Luc Émond
Top achievements
Rank 1
Answers by
Luc Émond
Top achievements
Rank 1
Share this question
or