 | SearchForum Home |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
|
Hi, is there a way to assign a local resource to a control? I don't know if I'm clear...
in an aspx file in a Web Application, you can, for example use a label like this
then in its corresponding resx file Code:
So that when you display it, the label text will read "Code:".
Is there a way to do this in VWG? |
|
|
|
 |  |
|
|
|
ok, that didn't look the way it should. trying again... Hi, is there a way to assign a local resource to a control? I don't know if I'm clear...
in an aspx file in a Web Application, you can, for example use a label like this <asp:Label ID="lblCode" Text="" runat="server" meta:resourcekey="lblCodeResource" />
then in its corresponding resx file <data name="lblCodeResource.Text" xml:space="preserve"><value>Code:</value></data>
So that when you display it, the label text will read "Code:".
Is there a way to do this in VWG? |
|
|
|
 |  |
|
|
|
You could always handle it on the Form.Load() event and just read the info from the resource file and assign the label text, right ?
Palli Páll Björnsson -
Visual WebGui support team - Email: support@visualwebgui.com |
|
|
|
 |  |
|
|
|
Ok, I resolved it. I didn't know that switching the Localizable property in the form automatically populated the corresponding resx and manages it automatically from the designer. What I observed is that it does this for every text-containing control except for ToolBarButton. I tried adding it manually to the resx and the designer and it worked, but every time I change anything it automatically deletes it. Is there any way for it to work with ToolBarButtons? |
|
|
|
 |  |
|
|
|
Hello,
Welcome to Visual WebGui!
About the ToolBarButton, I opened a new issue and had Shlomi Bin fix it in VWG v6.2.0. You can view it here.
Regards,
Ori Cohen
The Visual WebGui team |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|
|