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 ;)

  • So it has to be C# and can not be in JavaScript at all? If you could use JavaScript then this could perhaps help: sharepoint.stackexchange.com/questions/45912/…
    – eirikb
    Commented Oct 16, 2012 at 17:10
  • I think the first thing he gives out would be correct, i just dont know how to do it and its not described either Commented Oct 16, 2012 at 17:15

1 Answer 1


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:


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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