Friday 22 February 2008

Cascading Drop Down Lists

I was trying to find a way to do Cascading Drop Down Lists in SharePoint, and I came across this interesting article.

http://datacogs.com/datablogs/archive/2007/08/26/641.aspx

It shows you how to do it. If you have any problems, let me know.

Fadi

7 comments:

Anonymous said...

i have problem when trying to create a publishing layout page. it complain it not type safe and in sharepoint designer it complain that it can't render

Fadi Noja said...

does it work though through the browser when you create the lists?

Unknown said...

i tried to deploy it on 32-bit server and it worked fine, but gives me error on deploying it on 64-bit serevr.
Need help.

Thanks,
Rittika

Fadi Noja said...

I will test it out and see. I haven't tried it on 64bit yet.

Anonymous said...

Hi

Cascading DDL's works perfectly in single environments. At our company we work om DEV, QA, and PROD servers and when a backup and restore is done, the new item form cannot be accessed because it is looking for the previous environments URL when the Cascading DDLs were created. Is there a way of refreshing the lookup URL after a backup and restore is done?

Any help would be appreciated.

Thanx alot,
Candice (candicesolomons@rocketmail.com)

Anonymous said...

Hi Fadi,

I managed to create a column and had it bind to parent drop down list.

However, I received this error
when I opened my page that uses this column.

[NullReferenceException: Object reference not set to an instance of an object.]
DataCogs.WebControls.ParentDropDownListFieldControl.CreateChildControls() +635
System.Web.UI.Control.EnsureChildControls() +87
Microsoft.SharePoint.WebControls.BaseFieldControl.OnLoad(EventArgs e) +176
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Any clue?

Anonymous said...

I have posted a Blog on Cascading Dropdown here. It allows unlimitted siblings

http://www.sharepointsnippets.com/post/2008/11/SharePoint-Cascading-Dropdown---Unlimited-siblings.aspx