Re: How do i use a static class' property at design time
- From: "TS" <manofsteele1@xxxxxxxxxxxxx>
- Date: Tue, 3 Jul 2007 12:50:53 -0500
OK, it works now, maybe it just needed to be run once
"TS" <manofsteele1@xxxxxxxxxxxxx> wrote in message
news:%23c1KWmZvHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
i have created an enum as a property; of the textbox but I don't haveex.
designer support for it.
also, what do you mean "sets the resource id"
"bruce barker" <nospam@xxxxxxxxxx> wrote in message
news:%23maK32PvHHA.4348@xxxxxxxxxxxxxxxxxxxxxxx
in your textbox make a enum property that sets the resource id. then theproperty
designer will support it.
-- bruce (sqlwork.com)
TS wrote:
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
expressionIdof a custom textbox so that in aspx page i could just set the
codeproperty and be done with it. i am trying to write as little code in
statement,behind as possible.
if this scenario, since i can't just use a singleproperty
"ClassName.PropertyName" since c# doesnt' have a stand alone Eval
particulari could also have a property: regExClass that would default to a
one, which would be used to instantiate the class and then use the
expressionID property to access the correct property to set the reg
does anyone have a better solution.
thanks
.
- References:
- Prev by Date: System.Configuration.CofigurationSettings.AppSettings is obsolete. ANY SOLUTION?
- Next by Date: Re: I hate IIS - "Server Application Unavailable" error message
- Previous by thread: Re: How do i use a static class' property at design time
- Next by thread: RE: How do i use a static class' property at design time
- Index(es):