.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

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

Posted By:Sagar Pardeshi       Posted Date: September 24, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

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


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:


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:


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.:


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

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend