Datum bleibt nach Buttonklick bestehen während Postback
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
<div style="height:/*5px*/ 0.390625vh"></div>
|
||||
<h1>Karten und Boxen:</h1>
|
||||
<h2>Das ist die Übersicht über all Ihre zu den LKWs zugehörigen Boxen:</h2>
|
||||
|
||||
<div class="g-3">
|
||||
<!-- <input class="form-control mb-4" id="tableSearch" type="text"
|
||||
placeholder="Einen Begriff eingeben oder den Anfang davon ...">-->
|
||||
@@ -49,8 +48,7 @@
|
||||
<asp:TableHeaderCell ID="tbl_HeaderCell_KundAuftNr" runat="server">Auftrags-Nr</asp:TableHeaderCell>
|
||||
<asp:TableHeaderCell ID="tbl_HeaderCell_Info" runat="server">Info</asp:TableHeaderCell>
|
||||
</asp:TableHeaderRow>
|
||||
</asp:Table>
|
||||
|
||||
</asp:Table>
|
||||
</div>
|
||||
</div>
|
||||
</ContentTemplate></asp:UpdatePanel>
|
||||
|
||||
@@ -104,10 +104,10 @@
|
||||
<div class="col-12" id="cont4">
|
||||
<div class="col-12" id="container2" style="margin-left:2px">
|
||||
<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:TextBox id="pickdate2" Type="Date" runat="server"></asp:TextBox>
|
||||
<asp:TextBox id="pickdate2" Type="Date" CssClass="classTarget" runat="server"></asp:TextBox>
|
||||
</div>
|
||||
<div id="Abstand"></div>
|
||||
<hr>
|
||||
@@ -238,4 +238,14 @@
|
||||
});
|
||||
});
|
||||
</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>
|
||||
@@ -66,26 +66,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
||||
<![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"/>
|
||||
</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"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
||||
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" ValidateRequestMode="Enabled"/>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<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>
|
||||
</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>
|
||||
<asp:LoginName ID="LoginName1" runat="server" />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
@@ -129,7 +110,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<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>
|
||||
|
||||
</tr>
|
||||
@@ -138,6 +119,26 @@
|
||||
</asp:Login>
|
||||
</form>
|
||||
</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>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -48,24 +48,13 @@ Partial Class login_login_TEST
|
||||
dr.Close()
|
||||
con.Close()
|
||||
End Using
|
||||
|
||||
|
||||
End Using
|
||||
End Sub
|
||||
|
||||
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
Protected Sub LogoutButton_Click(sender As Object, e As EventArgs)
|
||||
FormsAuthentication.SignOut()
|
||||
|
||||
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")
|
||||
Response.Redirect("../login/Logout.aspx")
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -16,7 +16,6 @@ Partial Class login_login_TEST
|
||||
'ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;"
|
||||
End If
|
||||
|
||||
|
||||
' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString
|
||||
Using con As New SqlConnection(ConnectionString)
|
||||
' 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)
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -548,12 +548,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</a> -->
|
||||
<asp:LoginView ID="LoginView1" runat="server">
|
||||
<asp:LoginView ID="LoginView1" runat="server" ClientIDMode="AutoID">
|
||||
<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>
|
||||
<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" />
|
||||
<LoggedInTemplate>
|
||||
<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>
|
||||
</asp:LoginView>
|
||||
<div style="height:10px"></div>
|
||||
@@ -601,8 +601,8 @@
|
||||
$(document).ready(function () {
|
||||
$('#sidebarCollapse').on('click', function () {
|
||||
$('#sidebar').toggleClass('active');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// Vergebe den Event-Handler
|
||||
|
||||
Reference in New Issue
Block a user