我该如何着手为自定义网页控件中的项目提供本地化文本?我以为我只需要将meta.resourcekey标记添加到控件项目中,然后定义并填充一些名为mycontrol.ascx。[lang] .resx的资源文件,但似乎不起作用。如何为ASP.Net自定义网页控件(.ascx)中的项目提供翻译?
例如
MyControl.ascx
<asp:Label ID="Label1" meta:resourcekey="Label1" runat="server" Text="Oops!"></asp:Label>
MyControl.ascx.de.resx
Label1.Text Donner und Blitzen!
谢谢,但它没有区别... – paul 2010-05-20 12:58:49