Your SlideShare is downloading. ×
ASP.NET Tutorial - Presentation 5
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

ASP.NET Tutorial - Presentation 5

2,248
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,248
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. STANDARD CONTROLS
  • 2. Session objectives
    • ASP.NET Controls
    • What’s in the Toolbox
    • Web forms vs HTML Controls
    • Standard Controls in ASP.NET
    • Properties & Event of Standard Control
    http:// www.guyfromchennai.com Kumar S
  • 3. ASP.NET Controls
    • WebForm Controls
    • HTML Controls
    • Web User Controls
    • Custom Controls
    http:// www.guyfromchennai.com Kumar S
  • 4. What’s in the Toolbox?
    • WebForm Controls
      • -TextBox, Label, Hyperlink, Etc
      • -DropDownList, DataGrid, DataList, Etc
    • HTML Controls (Client or Server)
    • ADO.NET Design Controls
    • System Components
    • Validation Controls
    http:// www.guyfromchennai.com Kumar S
  • 5. WebForm Vs HTML Controls
    • Both have the following benefits
      • An object model that you can program against on the server
      • A set of events for which you can write sever side event handlers
      • The ability to handle events in client script
      • Interaction with validation controls so you can easily verify that a user has entered appropriate information into a control
      • Data binding to one or more properties of the control
      • Support for HTML 4.0 styles if the Web Forms page is displayed in a browser that supports cascading style sheets Pass-through of custom attributes
    http:// www.guyfromchennai.com Kumar S
  • 6. STANDARD CONTROLS IN ASP.NET
    • Button
    • CheckBox
    • CheckBoxList
    • DropDownList
    • HyperLink
    • Image
    • ImageButton
    • ImageMap
    • Label
    • LinkButton
    • ListBox
    • TextBox
    http:// www.guyfromchennai.com Kumar S
  • 7. Properties & Event of Standard Control
    • Button - OnClick event to determine the particular Button that was clicked
    • CheckBox - CheckBox server control accepts Boolean (true or false) input. When selected, its Checked property is true -CheckedChanged is the event
    http:// www.guyfromchennai.com Kumar S
  • 8.
    • CheckBoxList -CheckBoxList has an Items collection with members that correspond to each item in the list. To determine which items are selected, test the Selected property of each item - SelectedIndexChanged is the Event
    Properties & Event of Standard Control http:// www.guyfromchennai.com Kumar S
  • 9.
    • DropDownList -The value of the currently Selected item is exposed through the SelectedValue property of DropDownList -SelectedIndexChanged is the Event
    • ImageButton - Like the Button control, ImageButton is used to post back to the server with ImageUrl Property
    Properties & Event of Standard Control http:// www.guyfromchennai.com Kumar S
  • 10.
    • ImageMap -Click event also supplies the x/y coordinates of where the user clicked the image. This provides a means to respond differently depending on what part of the image is clicked.
    • TextBox -TextBox control enables the user to enter text in Text property
    Properties & Event of Standard Control http:// www.guyfromchennai.com Kumar S
  • 11. Properties & Event of Standard Control
    • ListBox -The ListBox control provides a single-selection or multiple-selection list. To enable multiple selection, set the SelectionMode property to Multiple -SelectedIndexChanged is the Event
    http:// www.guyfromchennai.com Kumar S
  • 12. Properties & Event of Standard Control
    • HyperLink -The HyperLink control supports data binding to its Text and NavigateUrl properties
    • Label -Displays text in a set location on the page using Text property
    http:// www.guyfromchennai.com Kumar S
  • 13.
    • LinkButton -Like the Button control, LinkButton is used to post a Web forms page back to the server
    • Image -The Image control displays the image defined by its ImageUrl property.
    Properties & Event of Standard Control http:// www.guyfromchennai.com Kumar S
  • 14. Session Summary
    • ASP.NET Controls
    • What’s in the Toolbox
    • Web forms vs HTML Controls
    • Standard Controls in ASP.NET
    • Properties & Event of Standard Control
    http:// www.guyfromchennai.com Kumar S

×