Text Web Control

Results 1 to 2 of 2

Thread: Text Web Control

  1. #1
    Join Date
    Dec 1969

    Default Text Web Control

    Is there a way that I can allow only numbers to be inserted into the textbox instead of text. Thank you for your time.

  2. #2
    Join Date
    Dec 1969

    Default RE: Text Web Control

    <asp:CompareValidator ID="CompareValidator1" ControlToValidate="yourTextBox" ErrorMessage="Field must be Numeric" Operator="DataTypeCheck" Type="Integer" Runat="server"/>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts