Register
Sign In
Skip over navigation
Home
Add New Question
Jobs
Products
Validation control
Question posted
on
10 2010
Rate question difficulty level
1
1 Votes
Validation controls are server side control then why microsoft included in tool box. I think its better to check in client side. Whats main purpuse of validation control?
Add an answer
Share
|
2 Answers
Sudip Chakrovorty
The validation controls always perform validation checking in server code. However, if the user is working with a browser that supports DHTML, the validation controls can also perform validation using client script. With client-side validation, any errors are detected on the client when the form is submitted to the server. If any of the validators are found to be in error, the submission of the form to the server is cancelled and the validator's Text property is displayed. This permits the user to correct the input before submitting the form to the server. Field values are revalidated as soon as the field containing the error loses focus, thus providing the user with a rich, interactive validation experience.
Note that the Web Forms page framework always performs validation on the server, even if the validation has already been performed on the client. This helps prevent users from being able to bypass validation by impersonating another user or a preapproved transaction.
Client-side validation is enabled by default. If the client is capable, uplevel validation will be performed automatically. To disable client-side validation, set the page's ClientTarget property to "Downlevel" ("Uplevel" forces client-side validation). Alternatively, you can set an individual validator control's EnableClientScript property to "false" to disable client-side validation for that specific control.
10/27/2010
Aditya Barve
Server Side validation is done to protect your code from a malicious user who might know how to get around your javascripts.Also javascript is not always enabled for all users.
10/27/2010
Add an answer*
Your name
Email
Enter the code shown above:
please wait..
Location:
India
Occupations:
Software\Web Development
add a question
Now hiring!
Sr IT Developer - At Home Services
Home Depot
Dallas, TX
benefits from your technology talents and experience, it's the perfect time to join The Home Depot. As an IT ... insurance to production. You anticipate hardware and software design needs to take pre-emptive action. Our IT...>
---------------------------
Software Development Analyst - Health IT
Northrop Grumman
Chantilly, VA
Northrop Grumman Information Systems sector is seeking a Software Development Analyst to join our team of qualified, ... development · 5 years of .NET software development · 3 years of relational database development...>
---------------------------
BU VP- Bus Dev IT and Cyber Security Solutions
BAE Systems
Reston, VA
Security Sector (I&S) is seeking a Vice President Business Development, Information Technology and Cyber Security ... and production, and geospatial exploitation software. People are the greatest asset in any Company ... BAE Systems...>
---------------------------
IT Software Implementation Systems Analyst - Rocky Hill, CT
UnitedHealth Group
San Diego, CA
IT Software Implementation Systems Analyst - Rocky Hill, CT; San Diego, CA IT Software Implementation Systems Analyst - ... of System Analysis/Development experience within Software Development Life Cycle (SDLC) * Understanding of data...>
---------------------------
Interface Developer Specialist IT Data Management & Reporting
Parkland Health and Hospital Systems
Dallas, TX
Cloverleaf Interface engine technology and related utility software applications. -Must be able to maintain accurate ... feedback to management to assist in the teams technical development. -When assigned team leader responsibilities: o...>
---------------------------
IT New Grad - Application Developer/Associate Programmer Analyst(175307)
Kaiser Permanente
Greenwood Village, CO
IT New Grad - Application Developer/Associate Programmer Analyst( Job Number: 175307) Were looking for big ideas6.9 ... of others researches and troubleshoots software and workflow issues to understand software build steps needed...>
---------------------------
JITC Software Development Analyst - Health IT
Northrop Grumman
Kihei, HI
and/or modifies enterprise-wide systems and/or applications software. Involved in planning of system and development ... Software Developer will play an essential role in service development and prototyping for the Military Healthcare...>
---------------------------
IT Software Implementation Systems Analyst - Rocky Hill, CT San Diego, CA
UnitedHealth Group
Rocky Hill, CT
IT Software Implementation Systems Analyst - Rocky Hill, CT; San Diego, CA IT Software Implementation Systems Analyst - ... of System Analysis/Development experience within Software Development Life Cycle (SDLC) * Understanding of data...>
Jobs
by
Simply
Hired
View all jobs