Advertisement
klimentmichal

txtbox control aspx

May 19th, 2016
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 0.77 KB | None | 0 0
  1. <div class="textbox">
  2.     <label><asp:Literal ID="label" runat="server"></asp:Literal></label>
  3.     <asp:TextBox ID="txtValue" runat="server"></asp:TextBox>
  4.     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ValidationExpression="([0-1][0-9]|2[0-3]):([0-5][0-9])"
  5.         ControlToValidate="txtValue" ValidationGroup="step1" runat="server" ErrorMessage="Zadejte prosím validní čas ve formátu hh:mm" Display="Dynamic"></asp:RegularExpressionValidator>
  6.     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtValue" runat="server" ErrorMessage="Toto pole je povinné" Display="Dynamic"
  7.         ValidationGroup="step1"></asp:RequiredFieldValidator>
  8.      <asp:PlaceHolder ID="placeHolder" runat="server"></asp:PlaceHolder>
  9. </div>
  10. v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement