AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] More ExtenderProvider tricks needed
Are you doing something to make sure that setting extendedcontrol.Text
re-sets your extender's SelectedIndex (and possibly adds to TextItems)?
When you set Text to TextItems[Selected
M
>To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
>Subject: Re: [ADVANCED-DOTNET] More ExtenderProvider tricks needed
>
>I haven't done this, but I think you could likely accomplish this by
>setting the DefaultValue attribute of the control you're extending to
>the string you'
topics.
[mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill
Sent: Wednesday, November 30, 2005 10:31 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] More ExtenderProvider tricks needed
I haven't done this, but I think you could likely accomplish this by
settin
I haven't done this, but I think you could likely accomplish this by setting
the DefaultValue attribute of the control you're extending to the string you're
causing to be displayed. When the default value matches the current value,
nothing gets serialized to the .resx file (or to the code).
Gi
My ExtenderProvider has a side effect of setting the "Text" property of
the control that it extends. However this is really only for display
purposes at design time and I don't want the Text property to be
serialized out to the .resx file. Anyone got any ideas as to how I could
best achieve this?