I have created a Master Page and exposed a Literal control on it by way of a public property.
Public Property PageTitle() As Literal
Get
Return ltlTitle
End Get
Set(ByVal value As Literal)
ltlTitle = value
End Set
End Property
In my content page I have referenced the Master Page like so :
<%@ Page Language="VB" MasterPageFile="~/Tools.master" AutoEventWireup="false" CodeFile="NewsletterUpload.aspx.vb" Inherits="NewsletterUpload" %>
<%@ MasterType VirtualPath="~/Tools.master" %>
However in my content page code behind I cannot see the custom properties of the master page in Visual Studio.
...
Go to the complete details ...