Regular Expression Validator

Discussion in 'ASP .Net Web Controls' started by Nick, Mar 7, 2005.

  1. Nick

    Nick Guest

    I'm very new to asp.net so forgive if this is a simple question.
    I have created web page for my site so people can log their e-mail address
    for a news letter.
    I add a regularexpressionvalidator control to validate the e-mail address
    structure.
    The validator works fine and displays my message when the e-mail format is
    incorrect and displays nothing when it is.
    However when I added it it seems to have stopped the event firing on the
    asp:button control.
    If I delete the validator the button works fine. Add it back and it stops
    working.
    What am I doing wrong.
    Any help would be greatly appreciated
     
    Nick, Mar 7, 2005
    #1
    1. Advertising

  2. Nick

    Nick Guest

    Damn.. Found the answer. I have been using ASP.NET Webmatrix and running the
    page from this on the Server created by the program.
    It fails when I do it from here but I have just run the same page through
    IIS and it works.



    "Nick" <> wrote in message
    news:...
    > I'm very new to asp.net so forgive if this is a simple question.
    > I have created web page for my site so people can log their e-mail address
    > for a news letter.
    > I add a regularexpressionvalidator control to validate the e-mail address
    > structure.
    > The validator works fine and displays my message when the e-mail format is
    > incorrect and displays nothing when it is.
    > However when I added it it seems to have stopped the event firing on the
    > asp:button control.
    > If I delete the validator the button works fine. Add it back and it stops
    > working.
    > What am I doing wrong.
    > Any help would be greatly appreciated
    >
    >
     
    Nick, Mar 7, 2005
    #2
    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,343
    Brian Vallelunga
    Jul 31, 2003
  2. VSK
    Replies:
    2
    Views:
    2,354
  3. Bryce Budd

    Regular Expression Validator

    Bryce Budd, Sep 18, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    587
    Brian Davis
    Sep 18, 2003
  4. Simple Simon
    Replies:
    2
    Views:
    4,380
    Simple Simon
    Nov 4, 2003
  5. Edward
    Replies:
    0
    Views:
    843
    Edward
    Dec 4, 2003
Loading...

Share This Page