Änderungen Response.Write(...) statt <%= ...%>
This commit is contained in:
@@ -169,7 +169,7 @@
|
|||||||
<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="From:"></asp:Label>
|
<asp:Label ID="lbl_von" runat="server" Text="From:"></asp:Label>
|
||||||
<%Dim erster = New Date(Now().Year, Now().Month, 1) %>
|
<%Dim erster = New Date(Now().Year, Now().Month, 1) %>
|
||||||
<asp:TextBox id="pickdate1" Type="Date" CssClass="classTarget" minDate="<%=erster %>" OnTextChanged="pickdate1_TextChanged" runat="server"></asp:TextBox>
|
<asp:TextBox id="pickdate1" Type="Date" CssClass="classTarget" minDate=<%Response.Write(erster) %> OnTextChanged="pickdate1_TextChanged" runat="server"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ControlToValidate="pickdate1" ID="valreqpickdate1" Display="Dynamic" runat="server" Enabled ="true" Visible ="true"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ControlToValidate="pickdate1" ID="valreqpickdate1" Display="Dynamic" runat="server" Enabled ="true" Visible ="true"></asp:RequiredFieldValidator>
|
||||||
<asp:CustomValidator runat="server" ID="valDateRange_1" ValidateEmptyText="true" ControlToValidate="pickdate1" Display="Dynamic" onservervalidate="valDateRange_1_ServerValidate" ErrorMessage="" SetFocusOnError="true" ValidationGroup="DateValid" />
|
<asp:CustomValidator runat="server" ID="valDateRange_1" ValidateEmptyText="true" ControlToValidate="pickdate1" Display="Dynamic" onservervalidate="valDateRange_1_ServerValidate" ErrorMessage="" SetFocusOnError="true" ValidationGroup="DateValid" />
|
||||||
<!--<asp:RequiredFieldValidator ID="RequiredFieldValidatorvon" runat="server" ErrorMessage="Field required" ControlToValidate="pickdate1" Text="Required" ForeColor="White" Font-Strikeout="False" Font-Underline="False" Font-Overline="False" Font-Bold="True" BackColor="Red"></asp:RequiredFieldValidator>
|
<!--<asp:RequiredFieldValidator ID="RequiredFieldValidatorvon" runat="server" ErrorMessage="Field required" ControlToValidate="pickdate1" Text="Required" ForeColor="White" Font-Strikeout="False" Font-Underline="False" Font-Overline="False" Font-Bold="True" BackColor="Red"></asp:RequiredFieldValidator>
|
||||||
|
|||||||
Reference in New Issue
Block a user