More in this section

Forums / Developing with Sitefinity / CompositeFieldElement in backend page of a module

CompositeFieldElement in backend page of a module

1 posts, 0 answered
  1. Ernest
    Ernest avatar
    37 posts
    12 Mar 2012
    27 Apr 2012
    Link to this post
    I created a custom field template control that has three controls and I was able add this to my module definition. The problem is that whenever I have this control added it breaks the layout of the backend page. Is there some property that I need to set in order to keep the correct layout of the backend page? Below is my code for adding the custom field template control to the backend page (LocationsDefinition.cs)

    var hoursOperationsField = new CompositeFieldElement(additionalSection.Fields)
                    //ID = "hoursOfOperation",
                    Title = "Hours of Operation",
                    FieldType = typeof(HoursOperationsField),
                    ResourceClassId = typeof(LocationsResources).Name,
                    DisplayMode = displayMode,
                    FieldName = "HoursOfOperationData",
                    CssClass = "sfTitleField",
                    WrapperTag = HtmlTextWriterTag.Li


    Please see attached screenshots.

    Thank you

1 posts, 0 answered