Last post Feb 08, 2009 11:13 PM by Nai-Dong Jin - MSFT
Feb 03, 2009 04:10 AM|Nestee|LINK
I have this code
<asp:GridView ID="gwUsers" runat="server"
AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" DataKeyNames="UserID">
<RowStyle BackColor="#EFF3FB" />
<asp:BoundField DataField="FirstName" meta:resourcekey="FirstNameResource"/>
<asp:BoundField DataField="LastName" meta:resourcekey="LastNameResource" />
in local resource I have
Do you know why this code doesn't work?
Feb 03, 2009 04:52 AM|jewelhere|LINK
just use this:
hope this will work
mark as answer if this helps you
Feb 03, 2009 04:58 AM|Nestee|LINK
Yes, it works but I need use local resource because I want to have the web pages in more languages. [:)]
Feb 03, 2009 10:16 PM|jewelhere|LINK
what u mean by local resource?Please clarify..
Feb 04, 2009 02:54 AM|Nestee|LINK
Sorry my English isn't good but I try to explain it.
Local Resources is file which ccontents for example: text, tooltip and next property for label, textbox and act. You can have resources for English, Germn and next languages. And then you do interface between the label and recources and label has text from
Feb 08, 2009 11:13 PM|Nai-Dong Jin - MSFT|LINK
In your web.config file, if you enable the enableClientBasedCulture attribute, like:
When you changed the culture settings in your browser and refresh the page, the globalization should work.