regularexpressionvalidator numeric control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Salim Afþar

    #1

    regularexpressionvalidator numeric control

    Hi,
    Is it possible to control a textbox with NUMERIC value with
    regularexpressi onvalidator.
    Thanks in advance,
    Salim


  • Vincent V

    #2
    Re: regularexpressi onvalidator numeric control

    use a custom validator

    with this code

    try
    if isnumeric(mytex t.text)
    args,isvalid = true
    else
    args.isvalid = false
    end if
    catch exp as exception
    args.isvalid = false
    end try





    "Salim Afþar" <safsar@luckyey e.com> wrote in message
    news:#BuEHAoWDH A.656@tk2msftng p13.phx.gbl...[color=blue]
    > Hi,
    > Is it possible to control a textbox with NUMERIC value with
    > regularexpressi onvalidator.
    > Thanks in advance,
    > Salim
    >
    >[/color]


    Comment

    • Salim Afþar

      #3
      Re: regularexpressi onvalidator numeric control



      There is no isnumeric function in C#

      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...