asp.net controls

20

Upload: baabtracom-no-1-supplier-of-quality-freshers

Post on 12-Jul-2015

96 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Asp.net controls
Page 2: Asp.net controls

ASP.net Controls

Arun RJ

[email protected]

Facebook Profile

Twitter Profile

www.linkedin.com\arun rj

Page 3: Asp.net controls

Disclaimer: This presentation is prepared by trainees ofbaabtra.com as a part of mentoring program. This is notofficial document of baabtra.com – Mentoring Partner

Page 4: Asp.net controls

Introduction

• An ASP.NET server control is a tag written in a Web page to represent a programmable server-side object used for displaying a user interface element in a Web page.

• Control is a inbuilt function

• When we are using control that automatically generate html code

• Controls used for designing

• It has

– Property

– Events

– Methods

Page 5: Asp.net controls

Standard ControlsButton Controls:

• ASP .Net provides three types of button controls:

Buttons- a button displays text within a rectangular area

Link buttons- a link button displays text that looks like a

hyperlink

Image buttons- an Image Button displays an image.

Page 6: Asp.net controls

Text Boxes and Labels:

• Text box controls are typically used to accept input from the

user.

• Ideally Label control is used to place a static, non clickable

(can't fire onclick event) piece of text.

Page 7: Asp.net controls

Check Boxes and Radio Buttons:

• A check box displays a single option that the user can either

check or uncheck .

• Radio buttons present a group of options from which the user

can select just one option.

Page 8: Asp.net controls

List Controls:

• These control let a user choose from one or more items from

the list.

• List boxes and drop-down list contain one or more list items.

These lists could be loaded either by code or by the ListItem

Collection Editor.

Page 9: Asp.net controls

Radio Button list and Check Box

list• A radio button list presents a list of mutually exclusive

options.

• A check box list presents a list of independent options.

• These controls contain a collection of ListItem objects that

could be referred to through the Items property of the control.

Page 10: Asp.net controls

Bulleted lists and Numbered lists:

• The bulleted list control creates bulleted lists or numbered

lists.

• These controls contain a collection of ListItem objects that

could be referred to through the Items property of the control.

Page 11: Asp.net controls

Data control

• Data bound control

– Grid View

– Repeater

– Data List

Page 12: Asp.net controls

Grid View

• The GridView and Details View controls are commonly used

in a Master/Detail page.

• A Master/Detail page is a page that displays a list of items

from a database along with the details of a selected item in the

list

Page 13: Asp.net controls

Repeater

• The Repeater control is used to display a repeated list of items

that are bound to the control.

Page 14: Asp.net controls

DataList

• The DataList control is, like the Repeater control, used to

display a repeated list of items that are bound to the control.

• However, the DataList control adds a table around the data

items by default.

Page 15: Asp.net controls

Validation Control

• Validate input at the client end

– Required field validator

• validate for entering

compulsory

– Range validator

• To validate one condition

Page 16: Asp.net controls

Validation Control cotd..

• Compare Validator

• Regular Expression Validator

Page 17: Asp.net controls
Page 18: Asp.net controls

Want to learn more about programming or Looking to become a good programmer?

Are you wasting time on searching so many contents online?

Do you want to learn things quickly?

Tired of spending huge amount of money to become a Software professional?

Do an online course @ baabtra.com

We put industry standards to practice. Our structured, activity based courses are so designedto make a quick, good software professional out of anybody who holds a passion for coding.

Page 19: Asp.net controls

Follow us @ twitter.com/baabtra

Like us @ facebook.com/baabtra

Subscribe to us @ youtube.com/baabtra

Become a follower @ slideshare.net/BaabtraMentoringPartner

Connect to us @ in.linkedin.com/in/baabtra

Give a feedback @ massbaab.com/baabtra

Thanks in advance

www.baabtra.com | www.massbaab.com |www.baabte.com

Page 20: Asp.net controls

Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550

Cafit Square,Hilite Business Park,Near Pantheerankavu,Kozhikode

Start up VillageEranakulam,Kerala, India.

Email: [email protected]

Contact Us