ASP.net RequiredValidator is not working in FireFox

Discussion in 'ASP .Net' started by Niraj Sikotara, Sep 21, 2006.

  1. hello,

    i'm using ASP.NET 2.0, and have placed validators on a page that are
    not working correctly in FireFox (1.5.0.7)

    the page can be downloaded from
    http://ez-files.net/download.php?file=e0d71170


    i've googled groups but not found any proper answer,

    thanks,
    Niraj Sikotara.
     
    Niraj Sikotara, Sep 21, 2006
    #1
    1. Advertising

  2. hello,

    i forgot to mention, steps to reproduce the error, those are,

    1) download the zip and extract it to any temp folder
    2) goto IIS and create a virtual directory and place the content of
    temp folder into it so that u can access page inside it in browser.
    3) now goto firefox and write address of the page to load it,

    i hope this little info is enough to get a techy to get started :)

    4) now once the page is loaded, u may see a form, where u are asked to
    fill info.
    5) leave "Organisation ID" nil.
    6) enter some text in "Name" (e.g. sdfsd)
    7) enter some text in "Email" (e.g. dfsd)
    8) enter some text in "Expiry Date Time" (e.g. 132)

    press enter.

    thanks and regards,
    Niraj sikotara.
     
    Niraj Sikotara, Sep 21, 2006
    #2
    1. Advertising

  3. hello,

    to all who face this problem, may look at the workarround i've choosen.


    here is the download link of same page with extra code to handle the
    error situation.
    http://ez-files.net/download.php?file=282b9463

    for those who would not like to download again, here is what i did.

    Sub btnAdd_Click(...)
    Page.Validate()
    If Not Page.IsValid Then
    lblMessage.Text = "<b>" + "Data Validation Failed, make
    sure all inputs marked with RED STAR are correct..." + "</b><p>"
    Return
    End If

    .......your code goes here......

    end sub

    thanks to...

    1) Validation Controls not working on Firefox at
    http://weblogs.asp.net/sushilasb/archive/2005/03/25/395914.aspx

    2) When using ASP.NET Validator Controls... if (Page.IsValid) { Now
    it's safe to go on! }
    at http://weblogs.asp.net/sibrahim/archive/2003/06/15/8723.aspx

    thanks,

    Niraj Sikotara.
     
    Niraj Sikotara, Sep 21, 2006
    #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. SStory

    requiredvalidator for checkbox

    SStory, Jul 30, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    1,359
    SStory
    Jul 30, 2003
  2. Elie Medeiros via .NET 247

    Custom Validator not working without RequiredValidator

    Elie Medeiros via .NET 247, May 18, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    8,680
    William F. Robertson, Jr.
    May 18, 2005
  3. TJS
    Replies:
    3
    Views:
    555
  4. tshad

    RequiredValidator not working

    tshad, May 20, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    2,019
    Peter Blum
    May 21, 2005
  5. Shimon Sim
    Replies:
    4
    Views:
    22,163
    Patrick.O.Ige
    Feb 3, 2006
Loading...

Share This Page