User Control RegularExpressionValidator with number and decimal regex
Try this regex -
\d{1,}\.?\d{0,}
put to e.g. ValidationExpression="\d{1,}\.?\d{0,}"
==========================================
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtWeight"
ErrorMessage="Format(X.XX)" ValidationExpression="\d{1,}\.?\d{0,}"></asp:RegularExpressionValidator>
==========================================
Bigquery how to write a website. Using language php html css webmaster tips & tools BigQuery.com ready to experience. To make a simple site .. As a basis for writing website And add the finishing touches to the site. In addition, as an alternative to creating a site with a variety of tools.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment