ASP.net composite control with an attribute that can contain multiple values of an enum type
<p>I'm building a composite control textbox that contains the ability to run some business rule validation on the client (via generic jquery validation methods attached on render) and server side (via C# validation code).  I created an enum type with the available business rules that can be validated (denoted with the [flags] attr), but I don't know how to allow the developer enter multiple enum values as an attribute.  </p>

<p>For example:
given the enum: 
[Flags]
public enum BusinessValidationRules {Logical=0, Theoretical=1, Physical=2, MetaPhysical=4}</p>

<p>I'd like the developer to be able to write a control like this at design time:
    <code>&lt;cc1:ProofTextBox id="somevalue" validation="Logical&amp;Physical|Theoretical" /&gt;</code>
OR, if those bitwise statements are not allowed then I could work with: 
<code>&lt;cc1:ProofTextBox id="somevalue" validation="Logical,Physical,Theoretical" /&gt;</code></p>

<p>Is there a way to do this without using the validation attribute taking in a string and parsing that (i.e. I'd like to get keep it tightly bound to the enumerated type)?  </p>

<p>The reason I'd like to do it this way is because I already wrote a generic jquery validator that validates based on enum values and separate code that does the same thing on the server side.  I'd like to bake it into the composite control so that future developers don't have to worry about that all.  </p>
