Dropdown list error on parent drop downlist

Mar 13, 2012 at 6:03 PM

After creating parent drop down list column. it is giving me below error:

Exception Type: System.Web.HttpException Exception Message: Cannot have multiple items selected in a DropDownList

Stack Trace:

Cannot have multiple items selected in a DropDownList.   at System.Web.UI.WebControls.DropDownList.VerifyMultiSelect()     at System.Web.UI.WebControls.ListControl.RenderContents(HtmlTextWriter writer)     at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlText... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...Writer writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at ASP._controltemplates_inputformcontrol_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)   ... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...  at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at ASP._controltemplates_inputformsection_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWr... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...iter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapte... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...r adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.HtmlControls.HtmlForm... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ....RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Control.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderC... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...ontrolInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer)     at System.Web.UI.Page.Render(HtmlTextWriter writer)     at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ... 
03/13/2012 12:37:59.31* w3wp.exe (0x09B0)                        0x131C Windows SharePoint Services    General                        8nca Verbose  ...ControlAdapter adapter)     at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

 

 

 

Coordinator
Mar 13, 2012 at 6:14 PM
did you follow the instructions carefully to create a cascading relationship?

On 13 March 2012 10:03, pdhameliya <notifications@codeplex.com> wrote:

From: pdhameliya

After creating parent drop down list column. it is giving me below error:

Exception Type: System.Web.HttpException Exception Message: Cannot have multiple items selected in a DropDownList

Stack Trace:

Cannot have multiple items selected in a DropDownList. at System.Web.UI.WebControls.DropDownList.VerifyMultiSelect() at System.Web.UI.WebControls.ListControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlText...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...Writer writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP._controltemplates_inputformcontrol_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) ...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ... at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP._controltemplates_inputformsection_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWr...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...iter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapte...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...r adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ....RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderC...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...ontrolInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ...
03/13/2012 12:37:59.31* w3wp.exe (0x09B0) 0x131C Windows SharePoint Services General 8nca Verbose ...ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Read the full discussion online.

To add a post to this discussion, reply to this email (CustomFieldControls@discussions.codeplex.com)

To start a new discussion for this project, email CustomFieldControls@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Mar 13, 2012 at 7:03 PM

I am not sure because I don't have any documentation for this.

Can you please provide me document for instruction, so I can verify? I am not able to see any user documentation for this control.

Appreciate your help

Apr 9, 2012 at 9:56 PM

Can't figure exactly what you are looking for, but check this out http://howididit-sharepoint.blogspot.pt/2012/04/filtering-lookup-columns.html maybe it helps.