Bug reports Found a bug? Post it here please.
Version 6.x > Bug reports > SiteManager > Document Type > Field Exception View modes: 
User avatar
Member
Member
DahlinDev - 7/17/2012 4:45:40 PM
   
SiteManager > Document Type > Field Exception
Any field named with the string "name" in it is throwing an exception (see below). This is a huge project that has a close deadline. This is holding me up. Any help would be much appreciated.


Server Error in '/' Application.
--------------------------------------------------------------------------------


The UnorderedList and OrderedList layouts only support vertical layout.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The UnorderedList and OrderedList layouts only support vertical layout.

Source Error:





Line 21: </style>
Line 22: </head>
Line 23: <body class="<%=mBodyClass%>">
Line 24: <form id="form1" runat="server">
Line 25: <asp:PlaceHolder runat="server" ID="plcManager" />

Source File: d:\Projects\***\CMSMasterPages\UI\SimplePage.master Line: 23

Stack Trace:





[InvalidOperationException: The UnorderedList and OrderedList layouts only support vertical layout.]
System.Web.UI.WebControls.RepeatInfo.RenderRepeater(HtmlTextWriter writer, IRepeatInfoUser user, Style controlStyle, WebControl baseControl) +11381786
System.Web.UI.WebControls.RadioButtonList.Render(HtmlTextWriter writer) +479
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
CMS.ExtendedControls.AbstractUserControl.Render(HtmlTextWriter writer) +215
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
CMS.FormControls.BasicForm.Render(HtmlTextWriter output) +153
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
CMS.ExtendedControls.AbstractUserControl.Render(HtmlTextWriter writer) +215
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +354
System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +114
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
CMS.ExtendedControls.AbstractUserControl.Render(HtmlTextWriter writer) +215
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +15
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +52
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +11420914
ASP.cmsmasterpages_ui_simplepage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\Projects\***\CMSMasterPages\UI\SimplePage.master:23
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
CMS.UIControls.CMSPage.Render(HtmlTextWriter writer) +104
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290


User avatar
Member
Member
DahlinDev - 7/18/2012 1:17:37 AM
   
RE:SiteManager > Document Type > Field Exception
More details, I was wrong that it had to do with the name of the field. It appears it is fields that are of Text type that are throwing an exception.

User avatar
Member
Member
kentico_edwardh - 7/20/2012 2:28:02 PM
   
RE:SiteManager > Document Type > Field Exception
Hello,

Just to resolve this thread, the issue was caused by the customization of the file ~\CMSFormControls\Basic\RadioButtonsControl.ascx.cs. This file is responsible for rendering all Radio buttons within the CMS.

Best Regards,
Edward Hillard