Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Also for some reason, the save()
/// <summary>
/// Saves the data.
/// </summary>
/// <param name="properties">The properties.</param>
/// <returns></returns>
public override object SaveData(PropertyDataCollection properties)
{
return _tags.ToString();
} does not get called.
Any help will be greatly appreciated.
Hi,
I am having issues with custom properties in EpiServer 7.5. I have a Tagging control that displays a list a categories in a tree format. This is my property [Display(GroupName = Global.GroupNames.Tags,
Order = 40,
Name = "SLO Tags",
Description = "SLO Tags")]
[CultureSpecific(true)]
[BackingType(typeof(PropertyTagMultipleSelector))]
public virtual TagCodeList SLoTagCodeList { get; set; }
// class.
/// Custom property - tag tree selector.
///
[Serializable]
[PropertyDefinitionTypePlugIn(DisplayName = "Tag Tree", Description = "Allows selection of multiple tags")]
[EditorHint("Tag Tree")]
public class PropertyTagMultipleSelector : BasePropertyTagMultipleSelector
{
///
/// Initializes a new instance of the
///
public PropertyTagMultipleSelector()
: this(new TagCodeList())
{
}
....
}
The same code works fine in EPiServer 6 R2 but when i save the tag the values and click on Save and Publish, the property value is not saved for the Page. Can somebody please advice me on this issue?