Computer Software

eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
Business & Money
Technology
Women
Health
Education
Family
Travel
Cars
Entertainment
SD Editorials
Online Guide and article directory site.
Foodeditorials.com
Over 15,000 recipes & editorials on food.
Lyricadvisor.com
Get 100,000 Lyric & Albums.
  • Business & Money
    • A Guide to Business
    • Guide to Finance
    • Ideas for Marketing
    • Legal Guide
    • Guide to Insurance
    • Lettre De Motivation
    • Guide to the Stock Market
    • Human Resource Career
    • Sales Marketing
    • Forex & Trading
    • Advertising & Marketing
    • Startup Guide
  • Technology
    • Guide to Technology
    • Cell Phones
    • Computer Software
    • IT Hardwares
    • Internet
    • Online Security
    • Cameras
    • Search Engine Optimization
    • Science & Technology
  • Women
    • Guide to Women
    • Relationship Advice
    • Marriage
    • Jewelry
    • Pregnancy
    • Fashion Style
    • Divorce Guide
    • Wedding Guide
    • Dating Guide
    • Natural Beauty
  • Health
    • Guide to Health
    • Guide to Medical
    • Plastic Surgery
    • Weight Loss
    • Sports
    • Body Wellness
    • Cancer Treatment
    • Common Illness
    • Health & Lifestyle
  • Education
    • Military Service
    • Politics and Policy
    • Arts & Humanities
    • Education and Teaching
    • Learn Languages
    • Colleges & Universities
  • Family
    • Quality Home Improvement
    • Hobbies and Interests
    • Family Guide to
    • Pet Guide
    • Loans Guide
    • Credit Cards
    • Gardening Guide
    • Home Security
    • Real Estate
    • Home Decor
    • Gift & Present
  • Travel
    • The Travel Guide
    • Adventure Travel
    • Cruise Ships
    • Beach Holiday
    • Travel Accommodation
    • Holiday Destinations
  • Cars
    • Information on Cars
    • Traffic Violations
    • Auto Insurance
    • Trailers
    • Sport Cars
    • The Bikes
  • Entertainment
    • Entertainment Guide
    • World Music
    • Photo & Video
    • Television & Games

Asp Net Validation Controls

    View: 
Usually, if you keep following the thread you will likely find someone post, "it's situations like that that have caused me to not use the validation controls..." Most recently, it was an MVP who seems to be everywhere. But an answer like this makes me wonder about any answer he's likely to give on the forum.



Are some situations more difficult than others? Indeed. Should we not use them at all because of those situations? Well, let's do a cost benefit analysis:

Using validation controls gives us:

Writing minimum code using client side and server side validation

* Allows us to assign a validation to a specific control

* Allows us to group validations and controls so that only specific validations fire for specific regions of the screen.

* There are actually multiple consistent ways to report the validation error back to the user.

* It is unnecessary to learn JavaScript

* Provides a custom validation control for the rare case which conforms to how the other validation controls work so that all we have to do is write the validation but displaying the error message, firing the validation, etc is left to the framework.

* I might have to have multiple validations and multiple controls on the screen that do the very same thing for the reason that any specific control or validation may only belong to one validation group.

With these points, It seems as if using validation controls would be much quicker.

Not using validation controls could mean:

I'm stuck writing validations by hand myself or using some other framework (one I probably wrote myself and therefore isn't tested as well)

* I have to write code to display the error on the screen.

* I must be consistent in how the error is displayed from one screen to another. Especially when you are working with several different developers, this could be problematic.

* Each of the developers in my organization have to know asp.net AND javascript..

* I can code validations any way I want.

* I might have greater code re-use.

Sorry, I'm not seeing a big benefit here. Actually, In my own experience with ASP.NET applications since beta 1 of version 1.0, I've yet to see a situation where the validation controls wouldn't work or where anyone could dispute that they were not the proper solution. This is even more so the case now that we can group the controls and validations.

So, here's the challenge.

Find a situation you think will not work using the existing set of validation controls and post a comment with your specific situation.. Maybe someone can change my mind.

del.icio.us Tags: asp.net , validation controls
More Articles from
Types Of Application Software
Time Management Tracking Software
Time Tracking And Billing Software
Tip Of Finger Numb
Tips To Improve Credit
To Copy A Dvd
To Design Web Page
To Do List Management
To Download Youtube Videos
To Fix Registry Errors
To Hide Ip Address
To Hide My Ip
To Make Pdf Files
To Open Rar Files
To Open Zip Files
To Partition A Hard Disk
To Speed Up Pc
Toll Free Number For Compaq Computers
Tools For Web Development
Tools In Software Testing
Top 10 Anti Spyware
» More on
The Best Software Writing
  • Related Articles
  • Author
  • Most Popular
•Ajax Framework Asp Net, by Nirjara Rustom
•Asp Net 3.5 A Beginners Guide, by Debby Jones
•Asp Net 3.5 Web Hosting, by Adrian Adams
•Asp Net Add Class, by Bruce Lipski
•Asp Net Ajax Tutorials, by Peter Parker
Dave Bush has sinced written about articles on various topics from Software, Web Development and The Internet. Dave answers related questions at .NET Answers and runs a
Cesar Millan Aggressive Dog
You cant let aggressive dog behavior pass. There is a real need for you to find methods and techniques to train your dog to react in non-aggressive ways
 
A Guide to Business | Guide to Technology | Guide to Women | Guide to Health | Family Guide to | Travel & Vacations | Information on Cars

EditorialToday Computer Software has 2 sub sections. Such as Software and All Microsoft Softwares. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors