CIS 375—Web App Dev II ASP.NET 3 Working With Server Controls.

Slides:



Advertisements
Similar presentations
Copyright 2007, Information Builders. Slide 1 Implementing On-Click Functionality With the HTML Layout Painter Larry J Braun Education Specialist June,
Advertisements

Working with ASP Pages. Slide 2 The Tag (1) Remember that most ASP.NET pages contain a single tag with the runat attribute set It’s possible to have multiple.
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
ASP.NET Validating user input Validating user input on the client and/or server side 1ASP.NET Validating User Input.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
ASP.NET Programming with C# and SQL Server First Edition
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Web Site Navigation How to get around in an ASP.NET web application 1Web Site Navigation.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Object-Oriented Application Development Using VB.NET 1 Chapter 12 Web Forms, HTML, and ASP.NET.
1 Web-Enabled Decision Support Systems Introduction to ASP.NET Prof. Name Position (123) University Name.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
Configuration Management and Server Administration Mohan Bang Endeca Server.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Christopher M. Pascucci.NET Programming: Forms & Controls.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Session 10: Managing State. Overview State Management Types of State Management Server-Side State Management Client-Side State Management The Global.asax.
Chapter 9 Programming with Web Forms Programming In Visual Basic.NET.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
ASP.NET Controls. Slide 2 Lecture Overview Identify the types of controls supported by ASP.NET and the differences between them.
CIS 375—Web App Dev II ASP.NET 10 Database 2. 2 Introduction to Server-Side Data Server-side data access is unique in that Web pages are basically ___________.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
Chapter 8 Cookies And Security JavaScript, Third Edition.
CIS 451: ASP.NET Objects Dr. Ralph D. Westfall January, 2009.
CSCI 6962: Server-side Design and Programming AJAX Tools in JSF and ASP.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
VB and C# Programming Basics. Overview Basic operations String processing Date processing Control structures Functions and subroutines.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Unit 3: Adding Code to a Microsoft ASP.NET Web Form.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
ASP.NET OPTIMIZATION. Why Optimize? $$$ Whether you build applications for customers or not, enhanced applications save money.
7 Chapter Seven Client-side Scripts. 7 Chapter Objectives Create HTML forms Learn about client-side scripting languages Create a client-side script using.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Module 1: Working with ASP.NET. Overview Introducing ASP.NET Creating Web Forms Adding ASP.NET Code to a Page Handling Page Events Discussion: ASP vs.
HTML Form Widgets. Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Developing Great Dashlets Will Abson About Me Project Lead, Share Extras Alfresco Developer and previously Solutions Engineer DevCon 2011 –
Reference: “ASP.NET 2.0 Illustrated” by Alex Homer and Dave Sussman. -ch3 illustrated book
ASP.Net, Web Forms and Web Controls 1 Outline Session Tracking Cookies Session Tracking with HttpSessionState.
ASP.NET 4 Unleashed Chapter 1. .aspx page: contains C# script and HTML code including tags. Listing 1.1 FirstPage.aspx.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 9 Key Concepts 1 Copyright © Terry Felke-Morris.
IMS 4480: Introduction to Web Services 1 Dr. Lawrence West, MIS Dept., University of Central Florida Introduction to Web Services—Topics.
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 State and Session Management HTTP is a stateless protocol – it has no memory of prior connections and cannot distinguish one request from another. The.
Asp.NET Core Server Controls. Slide 2 Lecture Overview Understanding the types of ASP.NET controls HTML controls ASP.NET (Web) controls.
CIS 375—Web App Dev II ASP.NET 4 Server Controls.
CIS 375—Web App Dev II ASP.NET 1 Getting Started.
CIS 375—Web App Dev II ASP.NET 5 Events. 2 The Page_Load Event The Page_Load event is triggered when a page loads. [Example]Example Sub Page_Load lbl1.Text="The.
PostBack  When an initial request for a page (a Web Form) is received by ASP.NET, it locates and loads the requested Web Form (and if necessary compiles.
 ASP.NET provides an event based programming model that simplifies web programming  All GUI applications are incomplete without enabling actions  These.
Beginning ASP.NET in C# and VB Chapter 9
Developing Great Dashlets Will Abson About Me Project Lead, Share Extras Alfresco Developer and previously Solutions Engineer DevCon 2011 –
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Client-side (JavaScript) Validation. Associating a function with a click event – Part 1 Use the input tag’s onclick attribute to associate a function.
Validation Controls Assist your users with providing the correct type of input for your application Assist your users with providing the correct type of.
Creating a Web Page Lesson 1. Objectives HTML HTML is slowly being replaced by XHTML. XHTML stands for Extensible Hypertext Markup Language and is the.
Creating an Interactive Web Page Lesson 2. Objectives.
XHTML Forms.
Computing with C# and the .NET Framework
Web Forms, HTML, and ASP.NET
ASP.NET Web Controls.
Web Development Using ASP .NET
MIS 3200 – Unit 6.1 Moving between pages by redirecting
Presentation transcript:

CIS 375—Web App Dev II ASP.NET 3 Working With Server Controls

2 Declaring Server Controls ASP.NET server controls are identified within a page using declarative _____ that contain a runat="server" attribute. The following example declares three server controls and customizes the text and style properties of each one individually. VB Controls1.aspx [Run Sample] | [View Source]Run SampleView Source

3 Manipulating Server Controls You can identify an individual ASP.NET server control within a page by providing it with an ___ attribute. You can use this id reference to manipulate the server control's _______ model at run time. For example, the following sample demonstrates how a page developer could set an control's Text property within the Page_Load event. VB Controls2.aspx [Run Sample] | [View Source]Run SampleView Source

4 Handling Control Action Events ASP.NET server controls can optionally expose and _______ server events, which can be handled by page developers. A page developer may accomplish this by declaratively _______ an event to a control where the attribute name of an event wireup indicates the event name and the attribute value indicates the name of a _________ to call. For example, the following example demonstrates how to wire an OnClick event to a button control. VB Controls3.aspx [Run Sample] | [View Source]Run SampleView Source

5 Performing Page Navigation (Scenario 1) Page navigation among multiple pages is a common scenario in virtually all Web applications. The following sample demonstrates how to use the control to navigate to another page (passing custom query string ___________ along the way). The sample then demonstrates how to easily get access to these query string parameters from the ________ page.

6 Performing Page Navigation (Scenario 2) Not all page navigation scenarios are initiated through hyperlinks on the ________. Client-side page redirects can also be initiated from the server with Response.Redirect(url). This is typically done when server-side ___________ is required on some client input before navigation. The following demonstrates how to use Response.Redirect to pass parameters to another target page. It also demonstrates how to easily get access to these parameters from the target page. VB Controls6.aspx [Run Sample] | [View Source]Run SampleView Source