Datum bleibt nach Buttonklick bestehen während Postback
This commit is contained in:
@@ -33,7 +33,6 @@
|
|||||||
<div style="height:/*5px*/ 0.390625vh"></div>
|
<div style="height:/*5px*/ 0.390625vh"></div>
|
||||||
<h1>Karten und Boxen:</h1>
|
<h1>Karten und Boxen:</h1>
|
||||||
<h2>Das ist die Übersicht über all Ihre zu den LKWs zugehörigen Boxen:</h2>
|
<h2>Das ist die Übersicht über all Ihre zu den LKWs zugehörigen Boxen:</h2>
|
||||||
|
|
||||||
<div class="g-3">
|
<div class="g-3">
|
||||||
<!-- <input class="form-control mb-4" id="tableSearch" type="text"
|
<!-- <input class="form-control mb-4" id="tableSearch" type="text"
|
||||||
placeholder="Einen Begriff eingeben oder den Anfang davon ...">-->
|
placeholder="Einen Begriff eingeben oder den Anfang davon ...">-->
|
||||||
@@ -50,7 +49,6 @@
|
|||||||
<asp:TableHeaderCell ID="tbl_HeaderCell_Info" runat="server">Info</asp:TableHeaderCell>
|
<asp:TableHeaderCell ID="tbl_HeaderCell_Info" runat="server">Info</asp:TableHeaderCell>
|
||||||
</asp:TableHeaderRow>
|
</asp:TableHeaderRow>
|
||||||
</asp:Table>
|
</asp:Table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ContentTemplate></asp:UpdatePanel>
|
</ContentTemplate></asp:UpdatePanel>
|
||||||
|
|||||||
@@ -104,10 +104,10 @@
|
|||||||
<div class="col-12" id="cont4">
|
<div class="col-12" id="cont4">
|
||||||
<div class="col-12" id="container2" style="margin-left:2px">
|
<div class="col-12" id="container2" style="margin-left:2px">
|
||||||
<asp:Label ID="lbl_von" runat="server" Text="Von:"></asp:Label>
|
<asp:Label ID="lbl_von" runat="server" Text="Von:"></asp:Label>
|
||||||
<asp:TextBox id="pickdate1" Type="Date" runat="server"></asp:TextBox>
|
<asp:TextBox id="pickdate1" Type="Date" CssClass="classTarget" runat="server"></asp:TextBox>
|
||||||
|
|
||||||
<asp:Label ID="lbl_bis" runat="server" Text="Bis:"></asp:Label>
|
<asp:Label ID="lbl_bis" runat="server" Text="Bis:"></asp:Label>
|
||||||
<asp:TextBox id="pickdate2" Type="Date" runat="server"></asp:TextBox>
|
<asp:TextBox id="pickdate2" Type="Date" CssClass="classTarget" runat="server"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
<div id="Abstand"></div>
|
<div id="Abstand"></div>
|
||||||
<hr>
|
<hr>
|
||||||
@@ -238,4 +238,14 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function () {
|
||||||
|
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
|
||||||
|
|
||||||
|
function EndRequestHandler(sender, args) {
|
||||||
|
$('.classTarget).datepicker({ dateFormat: 'dd.MM.yyyy' });
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -66,26 +66,7 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<script type = "text/javascript">
|
|
||||||
function goBack()
|
|
||||||
{
|
|
||||||
window.history.back()
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script>
|
|
||||||
function bust1() {
|
|
||||||
if (top != self)
|
|
||||||
setInterval("top.location.replace('../Kundenseite.aspx')", 1);
|
|
||||||
}
|
|
||||||
function bust2() {
|
|
||||||
if (top != self)
|
|
||||||
setInterval("top.location.replace('../admin/admin.aspx')", 1);
|
|
||||||
}
|
|
||||||
function bust3() {
|
|
||||||
if (top != self)
|
|
||||||
setInterval("top.location.replace('../newpageJulius_Sidebar.aspx')", 1);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/login/LoggedIn.css"/>
|
<link rel="stylesheet" type="text/css" href="../css/login/LoggedIn.css"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -107,7 +88,7 @@
|
|||||||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
||||||
</symbol>
|
</symbol>
|
||||||
</svg>
|
</svg>
|
||||||
|
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" ValidateRequestMode="Enabled"/>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<td>
|
<td>
|
||||||
@@ -115,10 +96,10 @@
|
|||||||
<svg class="bi shrink-0 me-2" width="3.125vw" height="1.875vh" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
|
<svg class="bi shrink-0 me-2" width="3.125vw" height="1.875vh" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
|
||||||
</td>
|
</td>
|
||||||
<tr> <td>
|
<tr> <td>
|
||||||
<asp:Label ID="LBL2" runat="server">Willkommen zurück: </asp:Label>
|
<asp:Label ID="LBL2" runat="server">Willkommen zurück: <%=Login1.UserName %> </asp:Label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<asp:LoginName ID="LoginName1" runat="server" />
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -129,7 +110,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" colspan="2">
|
<td align="left" colspan="2">
|
||||||
<br/> <asp:Button id="LogoutButton" runat="server" CommandName="Logout" Text="Abmelden" target="frame" OnClientClick="bust3()"/>
|
<br/> <asp:Button id="LogoutButton" runat="server"/>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
@@ -138,6 +119,26 @@
|
|||||||
</asp:Login>
|
</asp:Login>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script type = "text/javascript">
|
||||||
|
function goBack() {
|
||||||
|
window.history.back()
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
function bust1() {
|
||||||
|
if (top != self)
|
||||||
|
setInterval("top.location.replace('../Kundenseite.aspx')", 1);
|
||||||
|
}
|
||||||
|
function bust2() {
|
||||||
|
if (top != self)
|
||||||
|
setInterval("top.location.replace('../admin/admin.aspx')", 1);
|
||||||
|
}
|
||||||
|
function bust3() {
|
||||||
|
if (top != self)
|
||||||
|
setInterval("top.location.replace('../newpageJulius_Sidebar.aspx')", 1);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -48,24 +48,13 @@ Partial Class login_login_TEST
|
|||||||
dr.Close()
|
dr.Close()
|
||||||
con.Close()
|
con.Close()
|
||||||
End Using
|
End Using
|
||||||
|
|
||||||
|
|
||||||
End Using
|
End Using
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
|
||||||
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Protected Sub LogoutButton_Click(sender As Object, e As EventArgs)
|
Protected Sub LogoutButton_Click(sender As Object, e As EventArgs)
|
||||||
FormsAuthentication.SignOut()
|
FormsAuthentication.SignOut()
|
||||||
|
Response.Redirect("../login/Logout.aspx")
|
||||||
Session.Clear() 'clear session
|
|
||||||
Session.Abandon() 'Abandon session
|
|
||||||
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
|
|
||||||
Response.Cache.SetCacheability(HttpCacheability.NoCache)
|
|
||||||
Response.Cache.SetNoStore()
|
|
||||||
|
|
||||||
Response.Redirect("../newpageJulius_Sidebar.aspx")
|
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ Partial Class login_login_TEST
|
|||||||
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
|
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
|
' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
|
||||||
Using con As New SqlConnection(ConnectionString)
|
Using con As New SqlConnection(ConnectionString)
|
||||||
' Using cmd As New SqlCommand("Validate_User")
|
' Using cmd As New SqlCommand("Validate_User")
|
||||||
@@ -62,6 +61,5 @@ Partial Class login_login_TEST
|
|||||||
|
|
||||||
|
|
||||||
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -548,12 +548,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a> -->
|
</a> -->
|
||||||
<asp:LoginView ID="LoginView1" runat="server">
|
<asp:LoginView ID="LoginView1" runat="server" ClientIDMode="AutoID">
|
||||||
<AnonymousTemplate>
|
<AnonymousTemplate>
|
||||||
<iframe id="frame1" src="/login/login_FLEX.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
|
<iframe id="frame1" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/login_FLEX.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
|
||||||
</AnonymousTemplate>
|
</AnonymousTemplate>
|
||||||
<LoggedInTemplate>
|
<LoggedInTemplate>
|
||||||
<iframe id="frame2" src="/login/Loggedin.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
|
<iframe id="frame2" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/Loggedin.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" />
|
||||||
</LoggedInTemplate>
|
</LoggedInTemplate>
|
||||||
</asp:LoginView>
|
</asp:LoginView>
|
||||||
<div style="height:10px"></div>
|
<div style="height:10px"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user