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