using resources to localize WebParts attributes - cross-assembly problem

A

adrin

hello is there a way to use resources for getting WP attributes'
values (such as WebDescription).
I found a solution based on a class that derives from
WebDescriptionAttribute, but the question is:
- Is there a way to make a universal library with a class
ResWebDescriptionAttribute deriving from WebDescriptionAttribute so
that it can be used in my WebParts projects?
the problem is that when I create ResourceManager object its
constructor requires Assembly object that indicates the assembly in
which resources files are stored. Is there a way to somehow pass
WebPart assembly (so that i can use resource files from my WebPart
projects?)
Maybe there is another way instead of using ResourceManager(which is
somewhat old?)

tia!
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top