Last post Jan 04, 2009 10:52 PM by Nai-Dong Jin - MSFT
Dec 29, 2008 02:02 AM|Johnny_Boy|LINK
I have some custom controls which needs to be localized. Of course, I generated the files for them, however, in one control the generated file includes only some IDs of all the asp.net controls. I must add that all the other controls (which weren't added)
within the user control are inside a <table> tag, which somehow the generation tool ignores.
Is there any way to fix this so that all the controls in the user control will be added to the .resx file ? obviously if this was a small user control I would create them myself, but it's not ...
Thanks in advanced !
Jan 04, 2009 10:52 PM|Nai-Dong Jin - MSFT|LINK
I just peform a test on my side, and it seems that it works as expected. Here's the procedure:
1. Create a user control.
2. Create a html table control on the form.
3. Add some ASP.NET standard controls inside the <td></td> tag in table control.
4. In Visual Studio Tools menu, select "Generate Local Resorce".
5. Check the WebUserControl resource file (.resx), and I do can see name/value pairs for each control.
I'm not quite sure your exact situation, you can provide the user control codes if the problem still exists.