![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am building a server control (web part) with localization support and I am trying to find out how I can use a resource string for the Description attribute of a property. My control's properties look something like the code below. I've tried using a resource string inside the Description attribute but receive a "An attribute argument must be a constant expression" error message. [Description("The height (in pixels) of the xxxx.")] [Bindable(true), Browsable(true), Category("My Category")] public int Height { get {} set {} } Does anyone have any ideas or recommendations? - Johnny |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |