Professional Web Applications Themes

ASP.Net Validation controls not working in netscape - ASP.NET General

Hi all, The Asp.net validation controls are skipping the validations in netscape.Please suggest a solution for this. Thanks Srinivasa Raghavan...

Sponsored Links
  1. #1

    Default ASP.Net Validation controls not working in netscape

    Hi all,


    The Asp.net validation controls are skipping the
    validations in netscape.Please suggest a solution for this.



    Thanks
    Srinivasa Raghavan
    Sponsored Links
    Srinivasa Raghavan Guest

  2. #2

    Default Re: ASP.Net Validation controls not working in netscape

    Srinivasa,

    The validation controls are not guaranteed to work clientside in any browser
    other than IE. That is why you can also check their validation server side
    for the exact reason you are experiencing.

    Here's what to do:

    Place any code that should only fire if the page is valid in an if/then like
    this:

    If Page.IsValid Then
    '---Your code here.
    End If

    Now the validators will require a post back to the server, but the code
    won't execute unless the page is valid. When an invalid page is returned to
    a Netscape browser from the server the validators error messages will
    appear.

    Sincerely,

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche
    "Srinivasa Raghavan" <s_srinivasa_raghavanhotmail.com> wrote in message
    news:0be701c355d6$ad0a46c0$a301280aphx.gbl...
    > Hi all,
    >
    >
    > The Asp.net validation controls are skipping the
    > validations in netscape.Please suggest a solution for this.
    >
    >
    >
    > Thanks
    > Srinivasa Raghavan

    S. Justin Gengo Guest

  3. #3

    Default Re: ASP.Net Validation controls not working in netscape

    Hi

    Canu Suggest some other solution apart from validating at server side.



    Thanks
    Srinivasa Raghavan



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Srinivasa Raghavan Sethuraman Guest

  4. #4

    Default Re: ASP.Net Validation controls not working in netscape

    Sorry, but that's about it.

    You could always write your own custom validators for each browser you need
    to support and then check for wich browser the client is with
    Request.Browser.Browser, but that would be an awful lot of code to write.

    There is no guarantee that code will work from one browser to the next. It's
    just something we all have to deal with.

    --
    S. Justin Gengo, MCP
    Web Developer

    Free code library at:
    [url]www.aboutfortunate.com[/url]

    "Out of chaos comes order."
    Nietzche
    "Srinivasa Raghavan Sethuraman" <s_srinivasa_raghavanhotmail.com> wrote in
    message news:%23VIcTpeVDHA.612TK2MSFTNGP10.phx.gbl...
    > Hi
    >
    > Canu Suggest some other solution apart from validating at server side.
    >
    >
    >
    > Thanks
    > Srinivasa Raghavan
    >
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    S. Justin Gengo Guest

  5. #5

    Default Re: ASP.Net Validation controls not working in netscape

    Hi

    Thanks for the reply.But it possible to manipulate the
    javascript(webuivalidation.js)to work with netscape.Event though Sever
    validations Control does do the validation check at server,i want to
    avoid round trips to server.



    Thanks
    Srinivasa Raghavan



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Srinivasa Raghavan Sethuraman Guest

Similar Threads

  1. Validation Between Controls
    By DS in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: November 18th, 09:33 PM
  2. Validation Controls
    By Charles A. Lackman in forum ASP.NET General
    Replies: 4
    Last Post: October 9th, 01:47 PM
  3. Netscape required field validation problems
    By Rick in forum ASP.NET General
    Replies: 3
    Last Post: July 7th, 09:37 PM
  4. Dynamic Validation Controls in Netscape
    By Mike George in forum ASP.NET General
    Replies: 1
    Last Post: June 25th, 02:40 AM
  5. web server controls not displaying at all on netscape 4.7
    By Duncan Godwin in forum ASP.NET General
    Replies: 1
    Last Post: June 24th, 11:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139