Using Local Resources with Page Properties : Resource file « I18N « ASP.NET Tutorial






<%@ Page Language="C#" UICulture="auto" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><asp:Literal Text="<%$ Resources:Title %>" runat="Server" /></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

    <h1>Page Explicit Localization</h1>


    </div>
    </form>
</body>
</html>








22.6.Resource file
22.6.1.Explicit Localization Expressions
22.6.2.Implicit Localization Expressions
22.6.3.Using Local Resources with Page Properties
22.6.4.You also can use implicit resource expressions when setting the page title.
22.6.5.Retrieving Local Resources Programmatically