1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Changing properties Custom Layout Widgets Orphan's objects

Changing properties Custom Layout Widgets Orphan's objects

2 posts, 0 answered
  1. Naveen
    Naveen avatar
    9 posts
    Registered:
    25 Jul 2011
    16 Sep 2011
    Link to this post
    I have created a Custom Layout Widget following http://www.sitefinity.com/documentation/designers-guide/custom-layout-widgets.aspx and added custom styles to divs without altering standard styles.

    Now 
    1.  i goto backend and drag my custom layout on to the template.
    2.  Then goto content section and drag a content block and add content to it.
    3. Publish and preview it Works fine.
    4. Go back to backend click edit and change custom layout widgets properties like Width or CssClass
    5. Save and Preview, content is missing from the page.
    6. Reopen the page in Edit mode content is shown at the top as Orphaned

    Here is my Template
    <%@ Control Language="C#" %>
    <div id="Div1" runat="server" class="sf_cols">
        <div id="Div2" runat="server" class="sf_colsOut sf_1col_1_100">
                    <div id="Div3" runat="server" class="sf_colsIn sf_1col_1in_100 inner-page-content">
       
            </div>
        </div>
    </div>

    toolbox data is as shown

    <

    add enabled="True" type="Telerik.Sitefinity.Web.UI.LayoutControl, Telerik.Sitefinity, Version=4.2.1650.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" title="Test Block" description="Test Block" layoutTemplate="~/TemplateControls/TestBlock.ascx" visibilityMode="None" name="Test Block" />

     

  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    20 Sep 2011
    Link to this post
    Hello Naveen,

    I was able to reproduce the problem - this seems like a bug with the custom layout controls. I have logged it in our internal bug tracking system. Apologies for the inconvenience.

    Greetings,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered