Änderungen pw login checks undn design
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
font-size: 11px;
|
||||
border: 1px solid gray;
|
||||
width: 400px;
|
||||
height: 379px;
|
||||
height: 400px;
|
||||
}
|
||||
#lbl_login {
|
||||
color: #003680;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
function FocusOnInput() {
|
||||
document.getElementById("UserID").focus();
|
||||
document.getElementById("CustomerID").focus();
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
@@ -84,12 +84,12 @@
|
||||
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" CssClass="txt_design">Kundennummer:</asp:Label>
|
||||
</td>
|
||||
<td align="left">
|
||||
<asp:TextBox ID="CustomerID" runat="server" required="true" Width = "240" ValidationGroup="txt_checkUID"></asp:TextBox>
|
||||
<asp:TextBox ID="CustomerID" runat="server" required="true" Width = "240" ValidationGroup="txt_checkUID" OnTextChanged="CustomerID_TextChanged1"></asp:TextBox>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="color:#003680; height:46px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ToolTip="Die Kundennummer ist erforderlich." ValidationGroup="txt_checkUID">Die Kundennummer ist erforderlich.</asp:RequiredFieldValidator>
|
||||
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ToolTip="Die Kundennummer ist erforderlich." SetFocusOnError="true" ValidationGroup="txt_checkUID">Die Kundennummer ist erforderlich.</asp:RequiredFieldValidator>
|
||||
</td><td>
|
||||
<asp:RegularExpressionValidator ID="valid_getNumberInput" ControlToValidate="CustomerID" ValidationGroup="txt_checkUID" runat="server" Display="Dynamic" SetFocusOnError="true" ValidationExpression="<%=regexUID %>"></asp:RegularExpressionValidator>
|
||||
</td>
|
||||
|
||||
@@ -65,4 +65,8 @@ Partial Class login_login_TEST
|
||||
Protected Sub CustomerID_TextChanged(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
Protected Sub CustomerID_TextChanged1(sender As Object, e As EventArgs)
|
||||
valid_getNumberInput.Validate()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user