Änderungen zum Versuch des Bugfixings des Buttons bei der ForgotPW.aspx-Form
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
padding-right: 50px;
|
||||
margin-left: -4px;
|
||||
width: 227px;
|
||||
height: 19px;
|
||||
height: 28px;
|
||||
border: 1px gray solid;
|
||||
border-radius: 5px 5px 0px 0px;
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
</td></tr>
|
||||
<tr style="color:#003680; height:30px;"><td>
|
||||
|
||||
<asp:Button ID="btn_Send" Text="Send" runat="server" Width="330px" Font-Size="20px" style="margin-left:22px;border:none" OnClick="btn_Send_Click" />
|
||||
<asp:Button ID="btn_Send" Text="Send" runat="server" Width="330px" Enabled="true" Font-Size="20px" style="margin-left:22px;border:none" OnClick="btn_Send_Click" />
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
</td></tr>
|
||||
|
||||
@@ -14,15 +14,13 @@ Partial Class login_ForgotPW
|
||||
|
||||
Protected Sub btn_Send_Click(sender As Object, e As EventArgs)
|
||||
Dim username As String
|
||||
Dim password As String
|
||||
Dim password As String = String.Empty
|
||||
Dim email As String
|
||||
Dim tokenname As String
|
||||
Dim tokenname As String = String.Empty
|
||||
Try
|
||||
username = txt_Username.Text
|
||||
password = String.Empty
|
||||
email = txtEmail.Text
|
||||
tokenname = ""
|
||||
Catch Excep As MissingFieldException
|
||||
Catch Excep As Exception
|
||||
MsgBox("Error05: " + Excep.Message)
|
||||
End Try
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
</tr>
|
||||
<tr style="color:#003680; height:46px;">
|
||||
<td align="left" colspan="2">
|
||||
<asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" required="true" Width = "250" Font-Size="1.125em" ValidationGroup="chk_PWField" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:22px;color:#003680" OnClick="this.value='';" Text="Password"></asp:TextBox>
|
||||
<asp:TextBox ID="Password" runat="server" CssClass="bg-key-icon" TextMode="Password" required="true" Width = "250" Font-Size="1.125em" ValidationGroup="chk_PWField" MaxLength="30" AutoCompleteType="Enabled" CausesValidation="true" style="margin-left:22px;color:#003680" OnClick="this.value='';" Text="Password"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="Passwordrequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is needed to authenticate." ToolTip="Please enter the Password." ValidationGroup="chk_PWField"></asp:RequiredFieldValidator>
|
||||
<asp:RegularExpressionValidator ID="checkpwdREGEX" ControlToValidate="Password" ValidationGroup="chk_PWField" runat="server" Display="Dynamic" SetFocusOnError="true" ValidationExpression="<%=regexPWVal %>"></asp:RegularExpressionValidator>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user