I hit my head against a brick wall with this little problem from Thursday, and I'm still no closer to the answer than then.
I have a user control that has the following property:
public List<MediaType> MediaTypesFilter { get; set; }
MediaType is an enumeration containing None, PDF, Image, etc.
I would like to be able to set user management media types during development (using intellisense), for example:
<CMS:MediaPicker ID="MediaPicker runat="server" MediaTypesFilter="PDF, Image">
or, most likely, this will lead to something like this:
<CMS:MediaPicker ID="MediaPicker" runat="server">
<MediaTypesFilter>
<MediaType>PDF</MediaType>
<MediaType>Image</MediaType>
</MediaTypesFilter>
</CMS:MediaPicker>
, , DesignerSerializationVisbility .., . CollectionEditors, , , , CollectionEditor , , CollectionEditor. , , . , Enum, . - , , ?
, , , intellisense , .