Expression Validator

Discussion in 'ASP .Net' started by CsaaGuy, Jul 22, 2005.

  1. CsaaGuy

    CsaaGuy Guest

    Hi, I have recieved some very good feedback here so thanks. Of course
    something else has come up. My form is working fine, but i have to do
    some data validation. So i put a regular expresson validator on the
    page, assigned a control to it. I want numbers so i put in \d{1,6} and
    when i put in a letter it returns the error message. So far so good.
    But no matter what i do the button events on the page won't fire. Even
    when i put in a valid number, the error message goes away (impliing it
    worked fine) the button events still do not work. Does anyone have any
    idea? I also tried a range validator but the same problem occured.
    Thanks.
     
    CsaaGuy, Jul 22, 2005
    #1
    1. Advertising

  2. CsaaGuy

    CsaaGuy Guest

    As a note, when i remove the expression validator all the button events
    work fine. Thanks
     
    CsaaGuy, Jul 22, 2005
    #2
    1. Advertising

  3. CsaaGuy

    Peter Blum Guest

    There is a bug in ASP.NET 1.1 SP 1 which causes this. See this thread for
    solutions:
    http://forums.asp.net/739537/ShowPost.aspx

    --- Peter Blum
    www.PeterBlum.com
    Email:
    Creator of "Professional Validation And More" at
    http://www.peterblum.com/vam/home.aspx

    "CsaaGuy" <> wrote in message
    news:...
    > Hi, I have recieved some very good feedback here so thanks. Of course
    > something else has come up. My form is working fine, but i have to do
    > some data validation. So i put a regular expresson validator on the
    > page, assigned a control to it. I want numbers so i put in \d{1,6} and
    > when i put in a letter it returns the error message. So far so good.
    > But no matter what i do the button events on the page won't fire. Even
    > when i put in a valid number, the error message goes away (impliing it
    > worked fine) the button events still do not work. Does anyone have any
    > idea? I also tried a range validator but the same problem occured.
    > Thanks.
    >
     
    Peter Blum, Jul 23, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brian Vallelunga
    Replies:
    2
    Views:
    8,294
    Brian Vallelunga
    Jul 31, 2003
  2. VSK
    Replies:
    2
    Views:
    2,300
  3. Bryce Budd

    Regular Expression Validator

    Bryce Budd, Sep 18, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    576
    Brian Davis
    Sep 18, 2003
  4. Simple Simon

    P.O. Box Expression Validator

    Simple Simon, Nov 2, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    385
    Simple Simon
    Nov 2, 2003
  5. Replies:
    4
    Views:
    904
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page