Why i need to expand twice when Collapsed="false

3 posts, 0 answers
  1. Luc Émond
    Luc Émond avatar
    26 posts
    Member since:
    Jun 2010

    Posted 08 Jul 2015 Link to this post

     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. Luc Émond
    Luc Émond avatar
    26 posts
    Member since:
    Jun 2010

    Posted 08 Jul 2015 in reply to Luc Émond Link to this post

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

    So please change Collapsed="true

    Tks
                                       

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Luc Émond
    Luc Émond avatar
    26 posts
    Member since:
    Jun 2010

    Posted 08 Jul 2015 in reply to Luc Émond Link to this post

    I fix my problem!

    Tks

Back to Top