Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Web Pages
2
IPT101 – Integrative Programming and Technologies I
Programming Languages
5
IPT101 – Integrative Programming and Technologies I
Programming Languages
7
IPT101 – Integrative Programming and Technologies I
Programming Languages
9
IPT101 – Integrative Programming and Technologies I
Programming Languages
10
IPT101 – Integrative Programming and Technologies I
Programming Languages
13
IPT101 – Integrative Programming and Technologies I
Programming Languages
14
IPT101 – Integrative Programming and Technologies I
Programming Languages
Handling Events
Events are created to handle these interactions.
Init
• where page initialization takes place
Load
• used to view state information or access controls
PreRender
• occurs when the page is about to render its
contents to the Web browser
Unload
• used to remove any resources created throughout
the request
15
IPT101 – Integrative Programming and Technologies I
Programming Languages
Control Events
Examples:
Click event
TextChanged event
SelectedIndexChanged event
Private Sub btnPost_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnPost.Click Response.Write(“Button Clicked”)
txtInput.AutoPostBack = True
End Sub
Public Sub txtInput_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles txtInput.TextChanged Response.Write(“Text
Changed”)
End Sub
16
IPT101 – Integrative Programming and Technologies I
Programming Languages
17
IPT101 – Integrative Programming and Technologies I
Programming Languages
Performance Activity
18
IPT101 – Integrative Programming and Technologies I