Sign in | Join

Sushila Patel's Weblog

When the going gets tough, upgrade

This Blog

  • Home
  • Contact
  • About

Syndication

  • RSS
  • Atom
  • Comments RSS

Search

  • Go

Navigation

  • Home
  • Blogs

News

    The WeatherPixie

Blogs I Read

  • Deepak Gulati
  • Colt Kwong
  • WinVistaClub

Encyclopedia

  • DotNetSlackers
  • DotNetBips

My Self

  • C-Sharpcorner
  • Dotnetjunkies
  • Aspfree
  • Aspalliance
  • Microsoft MVP

Tags

    • .NET Faq
    • Code Samples
    • General
    • Personal
    • Tips and Tricks
    • Whidbey

Recent Posts

  • How To: Group Data in the GridView Control
  • Weekend, Vista Ultimate and my laptop
  • Somasegar: Listening to your feedback - Expression and MSDN
  • Google, Yahoo and Microsoft team up
  • ViewState in-depth

Archives

  • May 2007 (1)
  • April 2007 (2)
  • November 2006 (2)
  • October 2006 (1)
  • September 2006 (2)
  • August 2006 (5)
  • January 2006 (3)
  • September 2005 (1)
  • April 2005 (3)
  • March 2005 (1)
  • February 2005 (1)
  • January 2005 (2)
  • October 2004 (2)
  • September 2004 (1)
  • August 2004 (4)
  • July 2004 (1)
  • June 2004 (1)
  • May 2004 (1)
  • April 2004 (3)
  • March 2004 (9)

March 2005 - Posts

Friday, March 25, 2005 3:02 PM

Validation Controls not working on Firefox

The ASP.Net validations controls only work client side in IE.

You can make them work in other browsers, coding as below:

C#

Page.Validate();

if ( !Page.IsValid )
{
return;
}
//Continue Your code

VB.NET

Page.Validate()

If Not Page.IsValid Then
Return
End If

'Continue Your code

Refer Scott Mitchells' article Client Side Validations in Downlevel browsers for more details.

Other Third Party Solutions avaiable are :

  • Paul Glavich's DomValidators
  • Peter Blum's Professional Validation and more

 

Posted by SushilaSB | 14 comment(s)
Filed under: .NET Faq
More Posts
Terms of Use