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

RadPageLayout Upsets Design View

3 Answers 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kencox
Top achievements
Rank 1
kencox asked on 29 Oct 2014, 07:22 PM
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

3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 03 Nov 2014, 11:25 AM
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.

 
0
kencox
Top achievements
Rank 1
answered on 03 Nov 2014, 03:56 PM
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>



0
Nencho
Telerik team
answered on 06 Nov 2014, 12:08 PM
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.

 
Tags
General Discussions
Asked by
kencox
Top achievements
Rank 1
Answers by
Nencho
Telerik team
kencox
Top achievements
Rank 1
Share this question
or