Professional Documents
Culture Documents
Module Overview
Creating Web Forms Adding and Configuring Server Controls in a Web Form
</body>
</html>
Use either the New Project or New Web Site dialog box
Server Controls: Contain the runat="server" attribute Include buttons, text boxes, and lists
Standard controls Intrinsic controls Complex controls Data controls Data-bound controls Data source controls Validation controls Login controls Navigation controls
You can use View state: To persist application data that is specific to a single page To know how many times a user postbacks the same page in sequence to the server
The following code displays how to add and configure the HTML server control
Adding the runat="server" attribute converts the control to an HTML server control that is processed on the server side by ASP.NET
Web Form
Logon information
10267A-GEN-DEV Student
Password
Pa$$w0rd
Lab Scenario
Lab Review
Review Questions
What are the advantages of Web Form controls? What type of Web server controls are used in the lab?
Best Practices