Current Popular IT I Pertemuan 3 Matakuliah: T0403/Current Popular IT I Tahun: 2008.

Slides:



Advertisements
Similar presentations
Current Popular IT I Pertemuan 10 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Advertisements

Current Popular IT I Pertemuan 8 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 12 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Svetlin Nakov Telerik Corporation
ASP.NET Arkitektur og Web Forms. Agenda – Web Forms Arkitektur for ASP.NET ( 1 del ) –Arkitekturen i korte træk –Fordele ved ASP.NET –Win Form Web.
Current Popular IT I Pertemuan 6 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
ASP.NET Arkitektur og Web Forms Slides lånt fra Ole Brüggert.
Hyperlink & Form Pertemuan 11 Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
Current Popular IT I Pertemuan 4 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
IT533 Lecture ASP.NET Controls. Installations Microsoft® SQL Server® 2008 Express.
Asp.NET Core Server Controls. Slide 2 Lecture Overview Understanding the types of ASP.NET controls HTML controls ASP.NET (Web) controls.
web controls  standard controls  validation controls  rich controls.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Current Popular IT I Pertemuan 7 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
ASP.NET Programming with C# and SQL Server First Edition
Overview This presentation covers the initial overview of the different server controls. 2.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
1 Presented by Bikash Shrestha. 2 What is ASP.NET or ASP+? ASP.NET/ASP+ is a programming framework built on the common language runtime that can be used.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
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 Forms and Web Controls 1 Outline Web Controls Text and Graphics Controls AdRotator Control Validation Controls.
Web Server Controls MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
ASP.NET Web Server Controls Basic Web Server Controls.
Web Controls Chapter-7. Page  2 Synopsis  Stepping Up to Web controls  Basic Web control classes  Web control classes  Web control Base class  Units,
ASP.NET Controls. Slide 2 Lecture Overview Identify the types of controls supported by ASP.NET and the differences between them.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Web Form Fundamentals Chapter-2 Unit-2.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
 Types of Server Controls,  HTML Server Controls,  Web Controls,  List Controls,  Input Validation Controls,  Rich Controls.
ASP.NET OPTIMIZATION. Why Optimize? $$$ Whether you build applications for customers or not, enhanced applications save money.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
HTML Form Teppo Räisänen LIIKE/OAMK Basic Structure of a HTML Form The element defining a form is ’form’ Form’s most important attributes are The.
Things like Textboxes, Lables, ‘n’at. ASPX page is not HTML Controls are rendered into markup that a browser can understand Some controls are rendered.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
TRAINING SESSIONS.NET Controls.  Standard Controls  Label  Textbox  Checkbox  Button, Image Button, Image control  Radio Button  Literal  Hyperlink.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
HTML Forms.
Asp.NET Core Server Controls. Slide 2 Lecture Overview Understanding the types of ASP.NET controls HTML controls ASP.NET (Web) controls.
Overview of Previous Lesson(s) Over View  ASP is a technology that enables scripts in web pages to be executed by an Internet server.  ASP.NET is a.
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
ASP.NET Part 2 Instructor: Charles Moen CSCI/CINF 4230.
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.
Jim Fawcett CSE686 – Internet Programming Spring 2014
Introduction to ASP.NET Web Forms
Current Popular IT I Pertemuan 11
Current Popular IT I Pertemuan 5
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
ASP.NET Forms.
Working with ASP.NET Server Controls
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Jim Fawcett CSE686 – Internet Programming Spring 2012
© 2016, Mike Murach & Associates, Inc.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
Active Server Pages ASP.Net
Module 05: Building ASP .NET Applications
Web Development Using ASP .NET
E-commerce Applications Development
Asp.net.
Introduction to HTML: Forms
Presentation transcript:

Current Popular IT I Pertemuan 3 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Learning Outcomes Learner can make a simple web page using standard controls Learner can do a simple validation using validation controls Learner can make a rich user interface using rich controls Learner can make web that communicate with user’s browser Bina Nusantara Copyright © Surya Sujarwo 2008

Material Outline Using Standard Controls Using Validation Controls Using Rich Controls Server Controls Server Control Basics Communicating with the Browser Bina Nusantara Copyright © Surya Sujarwo 2008

Using Standard Controls Label Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) Literal Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) Literal Controls (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008) Support HTML / XHTML Not support HTML / XHTML

Using Standard Controls (Continue…) TextBox Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) CheckBox and Button Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) RadioButton Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) LinkButton and ImageButton Controls, Label’s AssociatedControlID Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) Image Controls and Default Button Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) ImageMap Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Standard Controls (Continue…) Panel and HyperLink Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Validation Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Rich Controls Setting Folder Permissions: Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

AdList.xml Using Rich Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Rich Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Rich Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Rich Controls (Continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Server Controls Postback – Server side: – Client side: – Generated script on client: Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Server Controls (Continue…) Data Binding – Allow to bind a property of a control to a data source such as a field in database. Web Server Controls – Provide a type-safe object model to program against on the server. – They do not map HTML element directly instead render HTML elements when a page is processed, provides an abstraction from HTML controls, making a developer doesn’t need to be an expert in HTML to develop ASP.NET pages. – Contains many controls such as: Label, Literal, Button, TextBox, etc. Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Server Controls (Continue…) CheckBoxList Controls – Server: – Client: Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Server Controls (Continue…) RadioButtonList Controls – Server: – Client: Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Server Controls (Continue…) HTML Server Controls – Any HTML element on an ASP.NET page can be converted into an HTML Server Control using runat attribute of the HTML element and set it to “server”. – Other element that not in the table is using HtmlGenericControl. Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002) CONTROLS DERIVED FROM HTMLCONTAINER CONTROLS DERIVED FROM HTMLINPUTCONTROL CONTROLS DERIVED FROM HTMLIMAGE HtmlAnchorHtmlInputButton(no derived controls) HtmlButtonHtmlInputCheckBox HtmlFormHtmlInputFile HtmlGenericControlHtmlInputHidden HtmlSelectHtmlInputImage HtmlTableHtmlInputRadioButton HtmlTableCellHtmlInputText HtmlTableRow HtmlTextArea

Server Control Basics All server controls derived from System.Web.UI.Control base class. Control Properties – Every Server Control expose its properties to ASP.NET and easily view in properties window of visual studio. Control Methods – The second features that exposed by a server control. Control Events – Provides a mechanism to notify clients of state changes inside the control. The Root Controls – Factored in three primary namespaces: System.Web.UI, System.Web.UI.HtmlControls, and System.Web.UI.WebControls Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Server Control Basics (Continue…) – The major namespace of ASP.NET under System.Web.UI Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Server Control Basics (Continue…) The System.Web.UI Namespace – Contain the Control class (mandatory parent class for all controls) The System.Web.UI.HtmlControls Namespace – Take existing HTML control into server controls Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Server Control Basics (Continue…) HTML TagHTML Server Control HtmlForm HtmlInputText HtmlInputText HtmlInputRadioButton HtmlInputCheckBox HtmlInputButton HtmlInputHidden HtmlInputButton HtmlInputImage HtmlInputFile HtmlButton Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Server Control Basics (Continue…) HTML TagHTML Server Control HtmlSelect HtmlTextArea HtmlImage HtmlAnchor HtmlTable HtmlTableRow HtmlTableCell All other tagsHtmlGenericControl Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Server Control Basics (Continue…) Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008) The System.Web.UI.WebControls Namespace

Server Control Basics (Continue…) Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008) HTML TagSimple Web Control TextBox with TextMode=Single TextBox with TextMode=Password TextBox with TextMode=MultiLine RadioButton CheckBox Button ImageButton Button DropDownList SelectList with Rows=3 HtmlTextArea

Server Control Basics (Continue…) Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008) HTML TagSimple Web Control Image HyperLink, LinkButton Table TableRow TableCell Panel Label

Communicating with the Browser The Response Object – The class is HttpResponse. – Used to send data to the client. – Can be used to redirecting the client to another resource on the Web. Generating Content Programmatically Redirection Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Cookies – Class that related to cookies: HttpCookie, HttpCookieCollection, HttpResponse and HttpRequest Communicating with the Browser Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002)

Communicating with the Browser Bina Nusantara References: Developing Web Applications with ASP.NET and C# (Hank Meyne and Scott Davis, 2002) Query String and Forms Collections – To passing parameters between pages. – Query String is for GET method of the form – Forms is for POST method of the form

That’s All Thank You for the Attention Bina Nusantara