SharePoint 2010: Cascading Dropdown for Lookup with more than 20 items

SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items
Sign up for an Office 365 SharePoint Online Business Subscription


When your list reaches 20 items or more, SharePoint decided to automatically replace this simple, clean, and elegant dropdown with some messy, sloppy, and difficult-to-use Complex Dropdown. This is meant to be an upgrade. The text box, with jQuery behind it, allows users to type the item that they’re looking for (which you can actually already do with a dropdown). However, in practice, it is prone to unexpected behavior:


Read some SharePoint 2013 tutorials below:

Cause:
I have a requirement to cascade country and state dropdown in SharePoint list. I have tried it using SPCascadeDropdowns and it’s not working more than 20 items in child dropdowns. This states my child dropdowns:


SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items
SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items

Solution:
If set to true, the child dropdown will be converted to a “simple” dropdown – only if it is a “complex” dropdown on page load. Edit the page in the browser and add a Content Editor Web part, modify the web part and show the Source Editor to add the following code.:

http://localhost:12813/pic/

SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items
SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items
SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items
SharePoint 2010:Cascading Dropdown for Lookup with more than 20 items

We made the cascading lookup to display more than 20 items successfully. The lookup column now works fine for more than 20 entries also.


You May Also like the Following SharePoint Online Tutorials:

About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →