ASP.NET 2.0 Referencing Master Page Members

Visit Publisher Site
Get ASP.NET 2.0 Referencing Master Page Members Hosting

Sponsored by TMDHosting

In this tutorial you will learn about reference Master Page Mebers, add property to Master Page, expose Master Properties. Members of the Master page can be referenced by content pages. These members can be methods, properties or controls. The constraint for property reference is theat the property has to be declared as public members of the master page. They could be public page scope variables, public propertis and public methods. Let us work out a simple example. The developer wants to set the title of a content page or to add a style sheet on a per page basis. Code will have to be added to the Page_Load event. The Header property on the Page class exposes the content of the< head > tag as programmable entities.

Visit publisher site: ASP.NET 2.0 Referencing Master Page Members

Listing Details

Filed in:
Scripts / ASP.NET / Tutorials & Tips
Submitted on:
Last Updated:
Jun 1, 2006 
Other listings by this publisher

License & Pricing Information

License Type:
$0.00 USD
Additional Info:

User Reviews 

Be the first to review this listing!