tabindex.aspx

来自「asp.net专家200问(含源代码解决法案」· ASPX 代码 · 共 22 行

ASPX
22
字号
<%@ Page language="c#" Codebehind="TabIndex.aspx.cs" AutoEventWireup="false" Inherits="TabIndex.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">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 320px; POSITION: absolute; TOP: 104px" runat="server" BorderColor="Pink"></asp:TextBox>
				<asp:TextBox id="TextBox2" style="Z-INDEX: 102; LEFT: 320px; POSITION: absolute; TOP: 152px" runat="server" BorderColor="LightBlue"></asp:TextBox>
				<asp:TextBox id="TextBox3" style="Z-INDEX: 103; LEFT: 320px; POSITION: absolute; TOP: 200px" runat="server" BorderColor="LightGreen"></asp:TextBox>
				<asp:Button id="SubmitBtn" style="Z-INDEX: 104; LEFT: 352px; POSITION: absolute; TOP: 248px" runat="server" Text="Submit"></asp:Button>
				<asp:Label id="Label1" style="Z-INDEX: 105; LEFT: 184px; POSITION: absolute; TOP: 32px" runat="server">Type in the numbers 1, 2, or 3 as the desired tab order for the following text boxes,Click the Submit button, and Tab through the text boxes to verify</asp:Label></FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?