layers asp.net ppt

22
VALIDATION & TIMER IN .NET & ANY 10 CONTROLS PRESNTED BY: BRIJESH TIWARI BCA 6 SEM

Upload: imei

Post on 09-Aug-2015

52 views

Category:

Education


0 download

TRANSCRIPT

Page 1: LAYERS asp.net ppt

VALIDATION & TIMER IN .NET & ANY 10 CONTROLS

PRESNTED BY:BRIJESH TIWARI

BCA 6 SEM

Page 2: LAYERS asp.net ppt

INTRODUCTION TO VALIDATION A Validation rule is a procedure that limits or

control user can enter in a table , field or control (like a text box) on a form.

Microsoft office access 2007 provides a number of ways to validate data, and your often use several of those techniques to define particular desired validation rules.

Page 3: LAYERS asp.net ppt

TYPES OF VALIDATOR

COMPARE VALIDATORCUSTOM VALIDATORRANGE VALIDATORREGULAR EXPRESSION VALIDATORREQUIRED FIELD VALIDATORVALIDATOR SUMMARY

Page 4: LAYERS asp.net ppt

COMPARE VALIDATORThe validator is used to compare the value

entered by a user .

PROPERTY-* Control to input contain to validate.

Page 5: LAYERS asp.net ppt

CUSTOM VALIDATORThe custom validator control is used to customize

an implement data validation.The data in a way that is not possible directly

with the help of existing validation control.If you want to find out weather a number is even

or odd.

PUBLIC PROPERTY :VALIDATE EMPTY-Often sets a Boolean value . Indicated weather

empty text should be validated.CLIENT VALUATION FUNCTION-Obtains of set the name of custom client and

existing used for validation control.

Page 6: LAYERS asp.net ppt

RANGE VALIDATOR

The range validator controls to checks weather or not the value of input control inside a specify range of values.

These are three types of properties-• CONTROL TO VALIDATE –* Contains the input control to validate.• MINIMUM VALUE – * Holds the minimum value of valid range.• MAXIMUM VALUE –* Holds the maximum value of valid range.

Page 7: LAYERS asp.net ppt

REGULAR EXPRESSION VALIDATOR

Regular expressions are used to check weather or not the text match a certain matters.

The regular expression validate control validate weather the value in the input control (text box) matches the format specified by the regular expression, as a date format and enter the E-mail address.

Page 8: LAYERS asp.net ppt

REQUIRED FIELD VALIDATOR

Required field validator control in ASP.NET is a simple validator .

Which checks to see if the data is entered for the attach control.

You can set the error message property which you want to display. The another property is control to validate in which you can set the attached control instance.

Page 9: LAYERS asp.net ppt

VALIDATOR SUMMARYThe validation summary control error message

as displayed it collectly in the screen.PUBLIC PROPERTIES :DISPLAY MODE-* Set the display mode of a the validation

control.• SHOW MESSAGE BOX-* Set of value showing weather is displayed in

the message box.• SHOW SUMMARY-* Set of value showing weather the validation

summary displayed.

Page 10: LAYERS asp.net ppt

TIMERThe timer (tick) is a group of numbers.Once the numbers are correctly entered and

the “execute” button pressed , the timer reset to 108.00.

Page 11: LAYERS asp.net ppt

ANY 10 CONTROLSLABELTEXT BOXCHECK BOXDROP DOWN LISTRADIO BUTTONIMAGEIMAGE BUTTONLIST BOXMULTI VIEWHYPERLINK

Page 12: LAYERS asp.net ppt

LABEL

Labels usually are use to displaying text that can not be

edited by the user.

Page 13: LAYERS asp.net ppt

TEXT BOX

Windows forms are text boxes are use to get input from the user to display.

The text box control is generally user for editable it make read only text boxes can display multiple line.

Page 14: LAYERS asp.net ppt

CHECK BOX

Check boxes are used when you want to selected one - and just one-option from a set of alternative.

Page 15: LAYERS asp.net ppt

DROP DOWN LIST

A user interface control graphical user interface element similar to a list box which allows the user to choose one value from a list.

Page 16: LAYERS asp.net ppt

RADIO BUTTON

Radio button means including related links.Radio buttons are commonly used when only

one option is selectable.

Page 17: LAYERS asp.net ppt

IMAGE

An image that is produced by a camera , artist , mirror etc.

An image is an artifact that record s visual perception.

Page 18: LAYERS asp.net ppt

IMAGE BUTTON

Image button control that display an image. This control is specify used full.

When you want to display an image that response to various action.

Page 19: LAYERS asp.net ppt

LIST BOX

The list box control is used to create a single - or multi – selection drop down list. Each selectable item in a list box control is defined by a list item element.

Page 20: LAYERS asp.net ppt

MULTIVIEW

Multi view control help us to create different views in the same page and display the view as user clicks the links.

Page 21: LAYERS asp.net ppt

HYPERLINK

The clickable links in text or graphics on a web page that takes you to another page , or whole other sites.

Page 22: LAYERS asp.net ppt

THANK YOU