Forum: ASP.NET |
Thema:
Re: Tabreihenfolge ändern |
Von:
G. Guest (
06.04.2006 10:46) |
Mir ist nicht ganz klar an welcher stelle ich das einsetzten muß. Hie mal ein Quellcode:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebFrmLogin.aspx.vb" Inherits="New_Projekt.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>frmLogin</title>
<meta content="True" name="vs_snapToGrid">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:label id="lblVersion" style="Z-INDEX: 100; LEFT: 24px; POSITION: absolute; TOP: 520px; TEXT-ALIGN: center"
runat="server" ForeColor="Red" Height="40px" Width="920px">Label</asp:label><asp:label id="lblServer" style="Z-INDEX: 113; LEFT: 24px; POSITION: absolute; TOP: 464px; TEXT-ALIGN: center"
runat="server" ForeColor="Blue" Height="40px" Width="921px">Label</asp:label><asp:textbox id="txtUser" style="Z-INDEX: 112; LEFT: 288px; POSITION: absolute; TOP: 128px" runat="server"
Width="136px"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 110; LEFT: 432px; POSITION: absolute; TOP: 160px"
runat="server" Height="24px" Width="72px" ControlToValidate="txtPWD">*</asp:requiredfieldvalidator><asp:label id="Label2" style="Z-INDEX: 108; LEFT: 208px; POSITION: absolute; TOP: 163px" runat="server"
Height="19" Width="73">Kennwort:</asp:label><asp:button id="btnCancel" style="Z-INDEX: 106; LEFT: 464px; POSITION: absolute; TOP: 208px"
runat="server" Height="24" Width="81" Text="Abbrechen"></asp:button><asp:textbox id="txtPWD" style="Z-INDEX: 104; LEFT: 288px; POSITION: absolute; TOP: 160px" tabIndex="1"
runat="server" Width="136px" AutoPostBack="True" TextMode="Password"></asp:textbox><asp:button id="btnOk" style="Z-INDEX: 105; LEFT: 368px; POSITION: absolute; TOP: 208px" runat="server"
Height="24px" Width="81px" Text="Ok"></asp:button><asp:label id="Label1" style="Z-INDEX: 107; LEFT: 208px; POSITION: absolute; TOP: 131px" runat="server"
Height="19px" Width="73px">Benutzer:</asp:label><asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 109; LEFT: 432px; POSITION: absolute; TOP: 128px"
runat="server" Height="24px" Width="72px" ControlToValidate="txtUser">*</asp:requiredfieldvalidator><asp:validationsummary id="ValidationSummary1" style="Z-INDEX: 102; LEFT: 296px; POSITION: absolute; TOP: 248px"
runat="server" Height="80px" Width="352px" HeaderText="Die mit * gekennzeichneten Felder dürfen nicht leer sein!"></asp:validationsummary>
<DIV id="lblErrMessage" style="DISPLAY: inline; Z-INDEX: 111; LEFT: 192px; WIDTH: 560px; COLOR: #ff0000; POSITION: absolute; TOP: 352px; HEIGHT: 19px; TEXT-ALIGN: center"
runat="server" ms_positioning="FlowLayout">
<P> </P>
</DIV>
<DIV id="lblHtmlsTitle" style="DISPLAY: inline; Z-INDEX: 103; LEFT: 208px; VERTICAL-ALIGN: baseline; WIDTH: 528px; POSITION: absolute; TOP: 72px; HEIGHT: 32px; BACKGROUND-COLOR: lightcyan; TEXT-ALIGN: center; TEXT-DECORATION: underline"
runat="server" ms_positioning="FlowLayout">Label</DIV>
</form>
</body>
</HTML>
Wo müsste ich das einsetzen, damit ich z.B. den ersten Tab auf das Textfeld txtUser dann txtPwd, btnOk und dann btnCancel, bekomme.....
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!