copy of copy of satish
TRANSCRIPT
-
8/8/2019 Copy of Copy of SATISH
1/20
ASP .NET
Controls
PRESENTATION
ON
-
8/8/2019 Copy of Copy of SATISH
2/20
CONTENTS
INTRODUCTION
DATA CONTROLS
LOGIN CONTROLS
VALIDATION CONTROLS
WEB PART CONTROLS
-
8/8/2019 Copy of Copy of SATISH
3/20
INTRODUCTION
ASP.NET is a Microsoft Technology
ASP.NET is the platform that you to create
the web application and web service.
ASP.NET is a program which use different
controls for the developing web application.
-
8/8/2019 Copy of Copy of SATISH
4/20
INTRODUCTION TO ASP.NET
CONTROLS
ASP.NET controls are the hearts of the ASP.NET
Framework.
-
8/8/2019 Copy of Copy of SATISH
5/20
Types of Controls
1. Validation Controls :-
The validation controls enable you to validate form
before submit the data to the server.
2. Login Control :-
The login controls enable you to display login, changepassword, and registration forms.
-
8/8/2019 Copy of Copy of SATISH
6/20
Types of Controls
3. Data Controls :-
The data controls enable you to work with data suchas database data.
4. Web Part Controls :-
The Web Part controls enable you to buildpersonalizable portal applications.
-
8/8/2019 Copy of Copy of SATISH
7/20
Validation Controls
Meaning :-
The validation controls enable you to validate form before
submit the data to the server.
Example :-
You can use a RequiredFieldValidator control to checkwhether a user entered a value for a required input field.
-
8/8/2019 Copy of Copy of SATISH
8/20
Types of Validation Controls
Six validation controls are included in the ASP.NET 2.0
Framework.
1. RequiredFieldValidator Control :-
This control enables you to require a user to enter a
value into a from field before submitting the form.
You must set two important properties when using theRequiredFieldValidator control.
a) ControlToValidate-: The ID of the form field
being validated
-
8/8/2019 Copy of Copy of SATISH
9/20
-
8/8/2019 Copy of Copy of SATISH
10/20
Types of Validation Control
3. CompareValidator Control :-
This control enable you to perform three different types
of validation tasks.
a) To perform a data type check.
b) To compare the value entered into a form field againsta fixed value.
c) To compare the value of one form field against
another.
-
8/8/2019 Copy of Copy of SATISH
11/20
Types of Validation Controls
a). Data type check b). Compare Values
c). Fixed Values
-
8/8/2019 Copy of Copy of SATISH
12/20
Types of Validation Controls
3. RegularExpressionValidator Control :-
This control enables you to compare the values of a
form field against regular expression.For example :- E Mail ID, Phone. No
-
8/8/2019 Copy of Copy of SATISH
13/20
Types of Validation Controls
4. CustomValidator Control :-
Check the validity of an entered item using a client
side script or a server-side code, or both.
-
8/8/2019 Copy of Copy of SATISH
14/20
Login Control
ASP.NET Login Controls to build a user registration
system for your website easily.
You can use the Login Controls to display userregistration forms, login forms, change password forms,
reminder password forms
By default the login control use ASP.NET Membership to
authenticate users, create user and change user properties.
-
8/8/2019 Copy of Copy of SATISH
15/20
Login Controls
1. Login :-
Enables you to display a user login form.
2. CreateUserWizard :-
Enables you to display a user registration form.
3. LoginStatus :-
Enables you to display either a log in or log out link,
depending on a users authentication status.
4. LoginName :-
Enables you to display current users registered
username.
-
8/8/2019 Copy of Copy of SATISH
16/20
Login Controls
5. ChangePassword :-
Enables you to display a form that allows users to
change their passwords.
6. PasswordRecovery :-
Enables you to display a form that allows a user to
receive an email containing his or her password.
7. LoginView :-
Enables you to display different content to different
users depending on the users authentication status or
role.
-
8/8/2019 Copy of Copy of SATISH
17/20
-
8/8/2019 Copy of Copy of SATISH
18/20
-
8/8/2019 Copy of Copy of SATISH
19/20
-
8/8/2019 Copy of Copy of SATISH
20/20