0

sorry about the title am not sure how i should name it.

I want to be able to create two columns for a list that have a division - subdivision relation.

If in the first field if i choose People the second field lists people, if i choose Animals in the first field the second one gives me a list of animals.

How can i achieve this ? It has to be in C#.

Thanks alot ;)

2

I had the same problem and I resolved it using javascript SPServices library on codeplex. Here you have link with description how to use it:

http://spservices.codeplex.com/wikipage?title=%24%28%29.SPServices.SPCascadeDropdowns

It is quite easy and fast solution you don't have be very familiar with javascript.

If you want to use C# code for it you probably have to create SharePoint custom field type.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.