RequiredFieldValidator not working in Firefox or on MAC

Discussion in 'ASP .Net' started by Brian, Apr 22, 2005.

  1. Brian

    Brian Guest

    I have a field that is required.. If the user doesn't put anything in
    that field, it throws a "Argument 'Length' must be greater or equal to
    zero." error.. Is there anyway to fix this?
    Brian, Apr 22, 2005
    #1
    1. Advertising

  2. Brian

    Brian Guest

    Nevermind.. I found the answer.. I need to put

    Page.Validate()
    If Page.IsValid Then

    else
    end if

    for all my button events.. thanks anyway
    Brian, Apr 22, 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. Rob
    Replies:
    4
    Views:
    486
    bruce barker
    Jul 18, 2003
  2. D. Shane Fowlkes
    Replies:
    2
    Views:
    5,901
    Martin Dechev
    Feb 23, 2004
  3. Roni Burd
    Replies:
    6
    Views:
    2,380
    Roni Burd
    Jul 3, 2004
  4. Marcio Kleemann

    RequiredFieldValidator not working

    Marcio Kleemann, Aug 12, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,516
    Marcio Kleemann
    Aug 12, 2004
  5. JB
    Replies:
    3
    Views:
    125
    Fred Oz
    Nov 7, 2004
Loading...

Share This Page