Last post Dec 14, 2007 02:49 AM by vivek_iit
Dec 06, 2007 09:09 AM|tal88|LINK
Im writting a CompositeControl and want to Localize some text values in the control.
Is it possible to embed resx file in the control's assembly?
How can I than retreive the embedded resource values?
Dec 06, 2007 08:44 PM|vivek_iit|LINK
You can use the Localizable attribute to the properties in your custom control as shown here:
Let me know if this helps,
Dec 08, 2007 12:49 PM|tal88|LINK
Thanks for your reply, but i still don't understand how can i embed the resource file
in the control's assembly.
As I understand the Localizable attribute perseists the property values to resource values, but how can I bind a property value to
a resource key?
Dec 10, 2007 08:47 AM|vivek_iit|LINK
You can easily embed resources files in the custom control DLL as shown in this article (check the part titled:
Embedding Resources in a DLL Project):
Hope this helps,
Dec 13, 2007 01:29 AM|tal88|LINK
Thanks for the reply.
I managed to use the resx files (I located them in my dll project root directory and it worked) .
Do you know if its possible to embed Themes in a web control dll? (I managed to embed a css file, but I want to enable a few Themes)
Dec 14, 2007 02:49 AM|vivek_iit|LINK
I am not sure about themes, but I suggest you should post this question as a new post again in the forums!