Ask a Question related to ASP.NET General, Design and Development.
-
Srinivasa Raghavan #1
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
Srinivasa Raghavan Guest
-
Validation Between Controls
I have a datagrid with several fields with textboxes and drop downs. I want to be able to validate the drop down field in one column to only be... -
Validation Controls
Hello, I have placed many validation controls on an aspx webform and a user control that allows the visitor to enter a username and password and... -
Netscape required field validation problems
I have an interesting problem when I run the following code in Netscape (7.02) vs. IE. This page works great in IE and all my controls bring up the... -
Dynamic Validation Controls in Netscape
I am having a problem with dynamic validation controls. I have some code that uses an XSLT to transform an XMLDocument into HTML which creates... -
web server controls not displaying at all on netscape 4.7
Netscape cannot understand utf-8 encoding which is the default for how pages are sent with .NET, you can change this in the web.config, by replace... -
S. Justin Gengo #2
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_raghavan@hotmail.com> wrote in message
news:0be701c355d6$ad0a46c0$a301280a@phx.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
-
Srinivasa Raghavan Sethuraman #3
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
-
S. Justin Gengo #4
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_raghavan@hotmail.com> wrote in
message news:%23VIcTpeVDHA.612@TK2MSFTNGP10.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
-
Srinivasa Raghavan Sethuraman #5
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



Reply With Quote

