I just started using SP 2010, I need to implement a process using SP, so I created a parent/child list, and modify the dispform of the parent list to add child list as a web part to it. The problem is now when I click an item in the parent list, all the item of child list is displayed to the item. But I just want the item of child list with the same look up value of the item to be displayed. For example, the item in parent list has a ID of 2, I want only the item with ID 2 in the child list to be displayed when I open the parent item. Is there any good approaches to achieve the function?



You will want to look into WebPart Connections. It's very easy to connect two WebParts together as explained here:

When you have two list view WebParts on one page you just have to send the filter value of the one list to the other list and they will work together. Whether this will work on a DispForm.aspx I'm not sure - you can check on a regular page for testing purposes though.

| improve this answer | |

Your Answer

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