Back to Questions

What are the Page Directives?

Your Answer

  • 12/18/2012 3:21:21 PM
  • Biju
  • 1

What are the Page Directives?

@ MasterType - Defines the class or virtual path used to type the Master property of a page.

 @ OutputCache - Controls the output caching policies of a page or user control declaratively.

 @ Page - Defines page-specific attributes used by the ASP.NET page parser and compiler and can be included only in .aspx files.

 @ PreviousPageType - Creates a strongly typed reference to the source page from the target of a cross-page posting.

 @ Reference - Links a page, user control, or COM control to the current page or user control declaratively.

 @ Register - Associates aliases with namespaces and classes, which allow user controls and custom server controls to be rendered when included in a requested page or user control.

 

  • 12/18/2012 3:21:43 PM
  • test

Back to Questions