Presentations

How to Implement Validation in Asp.net

Description
A validation control (or validator) determines whether the data in another web control is in the proper format, before the data is processed. When the XHTML for our page is created, the validator is converted into JavaScript that performs the validation.
Categories
Published
of 36
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
    Validation Controls, User Controls,Master Pages  Server Controls Validation Controls ● A validation control  (or validator)  determines whether the data in another web control is in the proper format, before the data is processed. ● When the XHTM for o!r pa e is created, the validator is converted into JavaScript  that performs the validation. ● #avaScript is a scriptin lan !a e that enhances the f!nctionalit$ and appearance of web pa es and is t$picall$ e%ec!ted on the client. ● &eca!se some clients disable or do not s!pport scriptin , AS'.)T validation controls can f!nction on the client,on the server or both.  Server Controls Validation Controls ● *ich, declarative validation ● Validation declared separatel$ from inp!t control ● )%tensible validation framewor+ ● S!pports validation on client and server ● Serverside validation is alwa$s done  – 'revents !sers from spoofin Web -orms  Server Controls Validation Controls ● <asp:RequiredFieldValidator>  – )ns!res that a val!e is entered ● <asp:RangeValidator>  – Chec+s if val!e is within minim!m and ma%im!m val!es ● <asp:CompareValidator>  – Compares val!e a ainst constant, another control or data t$pe ● <asp:RegularExpressionValidator>  – Tests if val!e matches a predefined pattern ● <asp:CustomValidator>  – ets $o! create c!stom client or serverside validation f!nction ● <asp:ValidationSummary>  – ispla$s list of validation errors in one place

- PDF

Jul 23, 2017
Search
Tags
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks