- Set up the environment for the page to run.
- Import namespace, assembly and register custom control to the page.
<%@ [Directive_name] [Attribute] %>
- Application
- Define application-specific attributes (Language)
- Assembly
- Link assembly to the page or application.
- Control
- Use for User Control (.ascx)
- Implements
- must implement .NET framework interfaces.
- Import
- import namespace
- Master
- a page file be the master page
- MasterType
- assign a class name to the master property of page.
- OutputCache
- control the output caching policies.
- Page
- define the attributes specific to the page.
- PreviousPageType
- assign a class to a page
- Reference
- another page or user control should be compoiled and linked to the current page.
- Register
- register custom server controls and user controls to your page.
No comments:
Post a Comment