© 2016, Mike Murach & Associates, Inc.

Slides:



Advertisements
Similar presentations
ASP.NET Programming with C# and SQL Server First Edition
Advertisements

Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 4-1 of…
ASP.NET Web Server Controls Basic Web Server Controls.
© 2012, Mike Murach & Associates, Inc.
Chapter 1 Murach's JavaScript and jQuery, C1© 2012, Mike Murach & Associates, Inc.Slide 1.
Chapter 6 Murach's JavaScript and jQuery, C6© 2012, Mike Murach & Associates, Inc.Slide 1.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2003, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
© 2011, Mike Murach & Associates, Inc.
© 2015, Mike Murach & Associates, Inc.
© 2013, Mike Murach & Associates, Inc.
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
Web Development Using ASP .NET
© 2016, Mike Murach & Associates, Inc.
© 2010, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
© 2003, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
© 2017, Mike Murach & Associates, Inc.
Murach's JavaScript and jQuery (3rd Ed.)
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

© 2016, Mike Murach & Associates, Inc. Chapter 6 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. Objectives (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common server controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. List server controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

When to use HTML elements instead of server controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. Common control events © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. A Click event hander © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

A Load event handler that changes the data in server controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. A method that gets data from controls and puts them into a Customer object © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The form properties for setting the focus and default button © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The control properties for setting the tab order and access keys © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. The aspx code for a form © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common label properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common text box properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

TextMode values for the HTML5 type attributes for input elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx for a label and a multiline text box © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common check box and radio button properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the three check boxes © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the two radio buttons © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The check boxes and radio buttons in a browser © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common image properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common hyperlink properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

A property of the file upload control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

A label, file upload control, and button control in a browser © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The Click event handler for the button control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common properties for Button, LinkButton, and ImageButton controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Button, LinkButton, and ImageButton controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

An event handler for the Click event of a button control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Properties of the CommandEventArgs class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Four buttons in a browser © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

An event handler for the Command events of the buttons © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common properties of list box controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

© 2016, Mike Murach & Associates, Inc. The aspx for a list box © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The Collection Editor for creating and editing lists © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common properties of list controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for a drop-down list © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Code that gets the value of the selected item in the drop-down list © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common property of a list control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Common methods of a ListItemCollection object © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

C# code that loads items into a drop-down list using strings © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Properties for formatting radio button and check box lists © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

A check box list and a radio button list in a browser © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the check box list © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the radio button list © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

A CheckOut page with standard server controls © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the form on the CheckOut page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The aspx code for the CheckOut form (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The code-behind file for capturing the data © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The code-behind file for capturing the data (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The code-behind file for capturing the data (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The code-behind file for capturing the data (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Other standard server controls that you may want to use © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

jQuery UI widgets that you should be aware of © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Three steps of a Wizard control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

The starting aspx for a Wizard control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015

Extra 6-1 Create a Reservation form © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015