diff --git a/Customers/Invoices.aspx b/Customers/Invoices.aspx index b3ad914..039a8ca 100644 --- a/Customers/Invoices.aspx +++ b/Customers/Invoices.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="false" CodeFile="Invoices.aspx.vb" Inherits="Customers_Invoices" %> +<%@ Page Title="" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="true" CodeFile="Invoices.aspx.vb" Inherits="Customers_Invoices" %> @@ -185,7 +185,7 @@
- +
diff --git a/Customers/Invoices.aspx.vb b/Customers/Invoices.aspx.vb index 13d3287..f42ba5b 100644 --- a/Customers/Invoices.aspx.vb +++ b/Customers/Invoices.aspx.vb @@ -17,7 +17,6 @@ Partial Class Customers_Invoices Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms DataBind() tbl_Header_row.TableSection = TableRowSection.TableHeader - If (Page.IsPostBack) Then valreq_pickdate1.Validate() valreq_pickdate2.Validate() @@ -135,7 +134,6 @@ Partial Class Customers_Invoices th8.ForeColor = white End Sub - Protected Sub btn_resetForm_Click(sender As Object, e As EventArgs) txt_Absender.Text = String.Empty diff --git a/Global.asax b/Global.asax index bb24cc0..ec61e4e 100644 --- a/Global.asax +++ b/Global.asax @@ -30,9 +30,7 @@ void Session_Start(object sender, EventArgs e) { // Code, der ausgeführt wird, wenn eine neue Sitzung gestartet wird - FormsAuthenticationTicket formsAuthenticationTicket = new FormsAuthenticationTicket(2,"ticket",DateTime.Now,DateTime.Now.AddMinutes(-30),true,"Par1="+Session.SessionID.ToString()); - FormsAuthentication.Encrypt(formsAuthenticationTicket); - + } void Session_End(object sender, EventArgs e)