Dynamic Changing Properties

S

Shawn B.

Greetings,

Suppose I have a control that by default, all the properties and text
rendered is English. If supported, and the user changes to say, arabic, is
it possible for me to change the control enumerations also in the property
editor so that it looks Arabic?

I'd think not. Perhaps I have to use a special control editor and use
strings and then map the string to a particular number indicating the option
chosen? But then the intellisense won't be there in the IDE.


Thanks,
Shawn
 
V

Victor Garcia Aprea [MVP]

Hi Shawn,

You can extend the DescriptionAttribute to show localized text for each of
your properties. You may want to look at the book "Developing ASP.NET Server
Controls and Components"[1] which includes an example of how to do this.

[1]
http://www.amazon.com/exec/obidos/ASIN/0735615829/laplatayacom"/002-3289718-3478452

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top