Sometimes when working with master pages in ASP.NET 2.0 you'll want to access properties on it via the child(content) pages.
There is a very nice way to do this: <%@ MasterType VirtualPath="~/MasterPage.master" %>
and now you will be able to access all of the master's public properties via this.Master.[property name].
You can get the MSDN documentation for it here.