0% found this document useful (0 votes)
120 views8 pages

ASP.NET Web Forms Guide

This document provides an overview of web engineering using ASP.NET. It discusses web forms, which are ASP.NET pages that separate content into an HTML template and code behind. The template contains controls like HTML and server controls that create the user interface. HTML controls run on the client-side while server controls run on the server. The code behind contains programming routines related to server controls and can be written in languages like VB.NET and C#.

Uploaded by

Adnan Amin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views8 pages

ASP.NET Web Forms Guide

This document provides an overview of web engineering using ASP.NET. It discusses web forms, which are ASP.NET pages that separate content into an HTML template and code behind. The template contains controls like HTML and server controls that create the user interface. HTML controls run on the client-side while server controls run on the server. The code behind contains programming routines related to server controls and can be written in languages like VB.NET and C#.

Uploaded by

Adnan Amin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

WEB ENGINEERING-II

USING [Link]
Adnan Amin (ICT Lecturer / Software Programmer)
Overview
 Web Form
 [Link] Controls
 HTML Controls
 HTML Server Controls

 The Code Behind the page.


Web Form
 Web form are [Link] pages within an [Link]
application.
 The extension of Web form of [Link] using [Link] is
*.aspx;
 The [Link] web form is separated into two logical
area.
1. HTML template.
2. Code behind the web form.
[Link] Template Web Form conti.

 HTML template usually contains


1. The design layout,
2. Contents and
3. Controls
i. HTML Controls.
ii. HTML Server Controls.
 The HTML template creates the user interface using
web form controls.
HTML Controls
 HTML Controls runs on Client side.
 The old ASP were using HTML
controls.
 You only need to write runat=“server”
to transform the HTML control into an
HTML Server control. or
 Right click on html control then click on
runat from menu.
HTML Control (textbox)
<input type=“text”>

HTML Server Control


<input type=“textbox” runat=“server”>
HTML Server Controls
 Server Controls are run on the server.
 [Link] Server Controls are
 Form controls
 Data Validation controls

 Web parts

 Mobile Controls

 Login Controls

 Navigations Controls
[Link] Behind the Web forms Web Form conti.

 With the web forms, the server programs are written in


a separate file known as the code behind the web form.
 The Code behind the page contains programming
routines that are directly related to the various server
controls on the web form.
 Just the server controls can interact with the code behind
the page.
 The code behind the page may be written in any [Link]
compatible language, including [Link], C# and J#.
 It has the same filename as the web form with extension
varies with programming language. (*.cs and *.vb)
Thank You !
 References
 [Link]

 Introduction to [Link] <2nd Edition> by Kathleen Kalata

You might also like