RadPageLayout Upsets Design View

4 posts, 0 answers
  1. Ken Cox
    Ken Cox avatar
    100 posts
    Member since:
    Oct 2002

    Posted 29 Oct 2014 Link to this post

    Ever since adding the RadPageLayout control to my master page, design view is broken on pages that use the master page.

    Is it just me, or is this control misbehaving? The embedded controls simply don't appear in design view.

    Ken
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 03 Nov 2014 Link to this post

    Hello Ken,

    Could you specify if you are unable to see the nested controls in design view, or you are unable to manage them? As the RadPageLayout is actually a placeholder and when you have a scenario with two nested placeholders (master page and PageLayput) the inability to manage the controls is expected. In addition, please specify the version of our controls, which you are currently using.

    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ken Cox
    Ken Cox avatar
    100 posts
    Member since:
    Oct 2002

    Posted 03 Nov 2014 in reply to Nencho Link to this post

    Hi Nencho,

    Thanks for your response.

    I'm using v. 2014.3.1024.45.

    Microsoft Visual Studio Ultimate 2013
    Version 12.0.30723.00 Update 3
    Microsoft .NET Framework
    Version 4.5.51650

    This occurs in a barebones Telerik Web site. The embedded  controls do not appear and the Visual Studio cursor flashes waiting repeatedly as if trying (but failing) to resolve something in the background.

    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
     
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html>
     
    <head runat="server">
        <title></title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    <body>
        <form id="form1" runat="server">
            <telerik:RadPageLayout ID="RadPageLayout1" runat="server">
                <telerik:LayoutRow>
                    <Content>
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        </asp:ContentPlaceHolder>
                    </Content>
                </telerik:LayoutRow>
            </telerik:RadPageLayout>
        </form>
    </body>
    </html>

    <%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
     
    <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:DropDownList ID="DropDownList1" runat="server"></asp:DropDownList>
        <asp:Button ID="Button1" runat="server" Text="Button" />
    </asp:Content>



  5. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 06 Nov 2014 Link to this post

    Hello Ken,

    Thank you for getting back to us.

    Please excuse me for my previous misleading explanation. Indeed the inability of managing and observing the controls occurs in such master page scenario. The reason is, as previously explained - the nested PlaceHolders within the MasterPage (the RadPageLaoyout is actually a PlaceHolder). You could easily test this behavior by replacing the PageLayout with a simple PlaceHolder :

    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
      
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html>
      
    <head id="Head1" runat="server">
        <title></title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    <body>
        <form id="form1" runat="server">
             <asp:PlaceHolder ID="PlaceHolder1" runat="server">
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </asp:PlaceHolder>
        </form>
    </body>
    </html>

    Hope this information helps. I will be glad to assist you any further.

    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top