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!
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!