Professional Documents
Culture Documents
SynapseIndia PHP Web Development
SynapseIndia PHP Web Development
SynapseIndia PHP Web Development
Outline
Web Forms
Three sections
Order of Execution
Viewstate
Web Forms
Three Sections
1. Page Directives
2. Code Declaration Block
3. Code Render Block
1. Page Directives
Set page properties
Language, debugging, tracing,
</script>
Locate:
Anywhere on page usually at top
Another file Code-Behind
Outline
Web Forms
Three sections
Order of Execution
Viewstate
Order of Execution
Events include:
Page load
Button click
checkbox checked
textbox text changed
etc.
Examples:
PostBack.aspx handout
Outline
Web Forms
Three sections
Order of Execution
Viewstate
ViewState
Saves control data
Encoded in hidden form field
Benefit: convenience
Disadvantage
Processing overhead
Bandwidth
NovusHR
Summary
.NET Framework
Like a huge Lego set
+5,000 types of pieces
Easily extended
Add new classes