EPiServer.Common.Tags.EntityTag serialization

Vote:
 

Hi,

I get SerializationException when trying to save EPiServer.Community.ImageGallery.Image to ViewState. Image has a EntityTags collection of type EntityTagCollection, inherited from FrameworkEntityBase class. Image, FrameworkEntityBase, EntityTagCollection are marked as serializable, but the only implementor of IEntityTag(used by EntityTagCollection members) - EntityTag class is not serializable.

I thought about using Session, but potentially site will have thousands of users and I don't want to load server with information required only for one page.

 

What can you suggest in this situation?

 

Thanks,

Artem.

#36396
Jan 27, 2010 11:50
* 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.