T
TS
i want to store my regular expressions in a static class with public
constants. I want to be able to pass a regular expression's id in a property
of a custom textbox so that in aspx page i could just set the expressionId
property and be done with it. i am trying to write as little code in code
behind as possible.
if this scenario, since i can't just use a singleproperty
"ClassName.PropertyName" since c# doesnt' have a stand alone Eval statement,
i could also have a property: regExClass that would default to a particular
one, which would be used to instantiate the class and then use the
expressionID property to access the correct property to set the reg ex.
does anyone have a better solution.
thanks
constants. I want to be able to pass a regular expression's id in a property
of a custom textbox so that in aspx page i could just set the expressionId
property and be done with it. i am trying to write as little code in code
behind as possible.
if this scenario, since i can't just use a singleproperty
"ClassName.PropertyName" since c# doesnt' have a stand alone Eval statement,
i could also have a property: regExClass that would default to a particular
one, which would be used to instantiate the class and then use the
expressionID property to access the correct property to set the reg ex.
does anyone have a better solution.
thanks