Änderungen zum Versuch des Bugfixings des Buttons bei der ForgotPW.aspx-Form

This commit is contained in:
ja
2021-10-12 16:47:47 +02:00
parent 690b67ac9d
commit e757e71702
4 changed files with 6 additions and 8 deletions

View File

@@ -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;
}

View File

@@ -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>

View File

@@ -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