Änderung Doppelklick nicht nötig durch entfernene des Response-Write in .aspx Seite
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(function () {
|
$(function () {
|
||||||
$('<%Response.Write(btn_Auftraege.ID)%>').click(function (e) {
|
$('<%=btn_Auftraege.ID%>').click(function (e) {
|
||||||
window.onbeforeunload = null;
|
window.onbeforeunload = null;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div style="height:0.936768149882904vh"></div>
|
<div style="height:0.936768149882904vh"></div>
|
||||||
<div class="col-12" style="margin-left:2px">
|
<div class="col-12" style="margin-left:2px">
|
||||||
<h2><%Response.Write(Server.HtmlEncode("Auftrags-Suche"))%></h2>
|
<h2>Auftrags-Suche</h2>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-left:6px">
|
<div style="margin-left:6px">
|
||||||
<div class="col-12" style="text-align:end">
|
<div class="col-12" style="text-align:end">
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
<asp:Label ID="lbl_bis" runat="server" Text="To:"></asp:Label>
|
<asp:Label ID="lbl_bis" runat="server" Text="To:"></asp:Label>
|
||||||
<!-- <asp:RequiredFieldValidator ID="RequiredFieldValidatorbis" ClientValidationFunction="validate" runat="server" ErrorMessage="Field required" ControlToValidate="pickdate2" Text="Required" ForeColor="White" Font-Strikeout="False" Font-Underline="False" Font-Overline="False" Font-Bold="True" BackColor="Red"></asp:RequiredFieldValidator> -->
|
<!-- <asp:RequiredFieldValidator ID="RequiredFieldValidatorbis" ClientValidationFunction="validate" runat="server" ErrorMessage="Field required" ControlToValidate="pickdate2" Text="Required" ForeColor="White" Font-Strikeout="False" Font-Underline="False" Font-Overline="False" Font-Bold="True" BackColor="Red"></asp:RequiredFieldValidator> -->
|
||||||
<%Dim jetzt = DateTime.Now.Date %>
|
<%Dim jetzt = DateTime.Now.Date %>
|
||||||
<asp:TextBox id="pickdate2" Type="Date" CssClass="classTarget" AutoPostBack="false" minDate="<%Response.Write(jetzt %>" OnTextChanged="pickdate2_TextChanged" runat="server"></asp:TextBox>
|
<asp:TextBox id="pickdate2" Type="Date" CssClass="classTarget" AutoPostBack="false" minDate="<%Response.Write(jetzt)%>" OnTextChanged="pickdate2_TextChanged" runat="server"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ControlToValidate="pickdate2" ID="valreqpickdate2" Display="Dynamic" runat="server" Enabled ="true" Visible ="true"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ControlToValidate="pickdate2" ID="valreqpickdate2" Display="Dynamic" runat="server" Enabled ="true" Visible ="true"></asp:RequiredFieldValidator>
|
||||||
<asp:CustomValidator runat="server" ID="valDateRange_2" ValidateEmptyText="true" ControlToValidate="pickdate2" Display="Dynamic" onservervalidate="valDateRange_2_ServerValidate" ErrorMessage="" SetFocusOnError="true" ValidationGroup="DateValid"/>
|
<asp:CustomValidator runat="server" ID="valDateRange_2" ValidateEmptyText="true" ControlToValidate="pickdate2" Display="Dynamic" onservervalidate="valDateRange_2_ServerValidate" ErrorMessage="" SetFocusOnError="true" ValidationGroup="DateValid"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
<asp:Label ID="lbl_LKWNr" runat="server" Text="LKW Nr"></asp:Label>
|
<asp:Label ID="lbl_LKWNr" runat="server" Text="LKW Nr"></asp:Label>
|
||||||
<!-- <script language="javascript" type="text/javascript">
|
<!-- <script language="javascript" type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#<%Response.Write(txt_LKWNr.ClientID)%>').autocomplete({
|
$('#<%=txt_LKWNr.ClientID%>').autocomplete({
|
||||||
source: function (request, response) {
|
source: function (request, response) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "WebService.asmx/ShowLKWs",
|
url: "WebService.asmx/ShowLKWs",
|
||||||
|
|||||||
Reference in New Issue
Block a user