i have asp textbox like that:
<asp:TextBox ID="TextBoxExitTime" TextMode="DateTimeLocal" runat="server"></asp:TextBox>
i want that all of the dates (and times) will be in the future.
if it was <input type="dateTime-Local"/>
i would write in the code behind TextBoxExitTimeAttributes.Add("min", DateTime.Now.ToString());
but with the asp:textbox it doesnt work.
when i press ctrl+shift+i it shows me min="26/05/2021 17:18:12"
but i still can choose date from the past.
what can i do?