I want to pass an int list (List) as a declarative property to a web user control like this:
I solved something simular by creating 2 properties:
public List ModuleIDs { get .... set ... }
public string ModuleIDstring { get ... set ... }
The ModuleIDstring converts its value set to a list and sets the ModuleIDs property.
This will also make the ModuleIDs usable from a PropertyGrid etc.
Ok, not the best, typesafe solution, but for me it works.