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