Professional Documents
Culture Documents
User Controls
Module 7: Creating and Implementing User
Controls
• Adding User Controls to an ASP.NET Web Form
• or
Page3.aspx
Page1.aspx
Page2.aspx
Adding a User Control
• Use the @ Register directive to include a user control in an
ASP.NET Page
• or
num1.pNum = 5; 'uses Set
x = num1.pNum; 'uses Get
Demonstration: Creating a User Control
• Create a new user control
• Create a property
Lesson: Creating User Controls
• Creating a User Control
Logon information
Virtual machine 2310C_07
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