I want to validate 24 hour formatted Time, Time is in the following format.
HH:MM:SS
How could i go for it. Please help me.
My HTMl Code is
<asp:TextBox Width="120px" MaxLength="20" ID="txtEndTime" runat="server"></asp:TextBox>
<ajaxctrl:maskededitextender id="metxtEndTime" runat="server" targetcontrolid="txtEndTime"
mask="99:99:99" messagevalidatortip="true" masktype="Number" inputdirection="LeftToRight"
clearmaskonlostfocus="false" acceptnegative="None" errortooltipenabled="True" />
To only validate the format, you can use this:
If you’re trying to validate the values as well, you can try this: