Creating A Microsoft
Creating A Microsoft
• .aspx extension
• Page attributes
@ Page directive
• Body attributes
• Form attributes
• Runat="server"
Events happen on the server
View state saved
• View state
<asp:ListBox id="ListName"
EnableViewState="true" runat="server">
</asp:ListBox>
• Control state
Demonstration: Converting HTML Controls to
Server Controls
• Upgrade HTML controls to HTML server controls
Logon information
Virtual machine 2310C_03
User name Student
Password Pa$$w0rd
Logon Page
Login.aspx
Benefits
Coho Home Page Page Header ASPState
Winery Default.aspx Header.ascx
Menu
Registration Component
Register.aspx Class1.vb or Class1.cs Web.
tempdb
config
XML
Doctors Dentists
Files
Lab Review
Module Review and Takeaways
Review Questions
• If you were given a Web page with an .aspx extension,
what would you look for to verify that it is a Web Form?
• If you were given a Web page with an .aspx extension,
what would you look for to see if there are Web server
controls?
• What type of code or script does a Web server control
generate on the client?
• What is the difference between FlowLayout and
GridLayout?
Review for Alpha
• Is there any topic or specific content item in the module
that seemed unclear or unnecessary?
• Is there any content item/related subject area that was
not covered and could be included?
• Did you observe any issues with the technical accuracy of
the content?
• Is the content in the module presented in a manner that
encourages learning? Did the flow of topics seem right?
• Does the lab outline indicate the expected scope of tasks
to be covered? Would you like to suggest any tasks that
could be removed or added?