Click here to Skip to main content
15,894,460 members
Articles / Web Development / ASP.NET

Globalization & Localization

Rate me:
Please Sign up or sign in to vote.
4.50/5 (2 votes)
9 Dec 2007CPOL1 min read 31K   15  
implementing multiple culture with master page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="pageDiv" runat="Server">
        <table border="0" cellpadding="0" cellspacing="0">
             <tr>
                <td colspan="2">
                    <asp:LinkButton ID="lnkEnglish" runat="server" OnClick="lnkEnglish_Click" Text="English"></asp:LinkButton>  OR 
                    <asp:LinkButton ID="lnkArabic" runat="server" OnClick="lnkArabic_Click" Text="Arabic"></asp:LinkButton>
                </td>    
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblUserID" runat="server" ></asp:Label>        
                </td>
                <td>
                    <asp:TextBox ID="txtUserID" runat="server"></asp:TextBox>
                </td>    
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblPassword" runat="server"></asp:Label>        
                </td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
                </td>    
                
            </tr>
            
            <tr>
                <td>
                    <asp:Label ID="lblTrader" runat="server"></asp:Label>        
                </td>
                <td>
                    <asp:TextBox ID="txtTrader" runat="server"></asp:TextBox>
                </td>    
                
            </tr>
            <tr>
                <td>
                   &nbsp;
                </td>
                <td>
                    <asp:Button id="btnSubmit" runat="server" ></asp:Button>
                </td>    
            </tr>
        </table>
        
        
        
    </div>
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions