public enum FlashSizeOptions
{
[Description("747x350")]
Large,
[Description("168x240")]
Small
}
and implemented the EnumEditorDescriptor class inhereting from EditorDescriptor
public class EnumEditorDescriptor<TEnum> : EditorDescriptor {...}
What makes this kind of wierd is that this worked for a while, but "just stopped working" It now gives me an exception saying
Type 'Customer.Models.Blocks.FlashSizeOptions' could not be mapped to a PropertyDefinitionType
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: EPiServer.Core.TypeMismatchException: Type 'Customer.Models.Blocks.FlashSizeOptions' could not be mapped to a PropertyDefinitionType
Hi all,
In a block i have defined a property like this:
The FlashSizeOptions enum looks like this:
and implemented the EnumEditorDescriptor class inhereting from EditorDescriptor
What makes this kind of wierd is that this worked for a while, but "just stopped working" It now gives me an exception saying
Have anyone seen this before?