|
<%@ Register TagPrefix="uc1" TagName="Menu" Src="Controls/Menu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Controls/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Controls/Header.ascx" %>
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="MyWebApp.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<link REL="stylesheet" TYPE="text/css" HREF="StyleSheet1.css">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="WIDTH: 741px; HEIGHT: 431px" cellSpacing="1" cellPadding="1"
width="741" border="1">
<TR>
<TD colspan="3" style="HEIGHT: 39px">
<uc1:Header id="Header1" runat="server"></uc1:Header></TD>
</TR>
<TR>
<TD valign="top" style="WIDTH: 115px; HEIGHT: 347px">
<P>
<uc1:Menu id="Menu1" runat="server"></uc1:Menu></P>
<P> </P>
<P>
<asp:Label id="lblCookie" runat="server" EnableViewState="False">This website uses a cookie to remember your language setting.</asp:Label></P>
</TD>
<TD style="WIDTH: 413px; HEIGHT: 347px">
<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="100%" border="1" style="WIDTH: 555px; HEIGHT: 327px">
<TR>
<TD style="HEIGHT: 265px">
<P>
<asp:Label id="lblContent" runat="server" EnableViewState="False">This is the main content of the page.</asp:Label></P>
<P> </P>
<P>
<asp:Label id="lblCurrentCulturePrompt" runat="server" EnableViewState="False">Locale language:</asp:Label>
<asp:Label id="lblCurrentCulture" runat="server">Current language</asp:Label></P>
<P>
<asp:Label id="lblCurrentUICulturePrompt" runat="server" EnableViewState="False"> UI language:</asp:Label>
<asp:Label id="lblCurrentUICulture" runat="server">Current UI language</asp:Label>
<asp:DataGrid id="DataGrid1" runat="server"></asp:DataGrid></P>
</TD>
</TR>
<TR>
<TD>
<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="flags/UnitedKingdom.gif" EnableViewState="False"
BorderStyle="Dotted" BorderWidth="1px"></asp:ImageButton></TD>
</TR>
<TR>
<TD>
<asp:Button id="btnEnglish" runat="server" Text="English" EnableViewState="False"></asp:Button>
<asp:Button id="btnFinnish" runat="server" Text="Finnish" EnableViewState="False"></asp:Button>
<asp:Button id="btnFrench" runat="server" Text="French" EnableViewState="False"></asp:Button>
<asp:Button id="btnSwedish" runat="server" Text="Swedish" EnableViewState="False"></asp:Button></TD>
</TR>
</TABLE>
</TD>
<TD style="HEIGHT: 347px"></TD>
</TR>
<TR>
<TD colspan="3">
<uc1:Footer id="Footer1" runat="server"></uc1:Footer></TD>
</TR>
</TABLE>
</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.
Sami Vaaraniemi has been working as a software developer since 1990, primarily on Microsoft technologies. After 12 years of Win32 API and C++ he switched to .NET. He currently works as an independent consultant and can be contacted through his website at www.capehill.net.