How to check if the document already exists in a Link Item Collection


I'm using EPiServer CMS 7.5. I have a block that has a LinkItemCollection property.

public virtual LinkItemCollection LinkList { get; set; }

The user can drag-and-drop any document from the Assets pane into the Link Item Collection. How do I prevent the user from adding a document that already exists in the Link Item Collection while in forms edit mode?

Aug 04, 2014 15:29

Ok I answered my own question in StackOverflow:

Aug 05, 2014 10:01
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.