November Happy Hour will be moved to Thursday December 5th.

Adding dynamically values to PropertyLinkCollection

Vote:
 

Hi,

How can i change the values or add values dynamically/programatically for a PropertyLinkCollection property.

Thanks in advance.

 

Regards,
Sharath

#36634
Feb 04, 2010 16:14
Vote:
 

Do you mean when the link is saved, or when it is rendered?

If you want to add things to the LinkCollection when it's rendered, the property is just a collection of LinkItem objects.  The collection has methods for Add, Remove, etc.  You sbould be able to create a new LinkItem object and insert it at runtime, if you like.

#38681
Apr 17, 2010 16:55
* 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.