D
Dwight Johnson
Following the directions found here ( http://msdn2.microsoft.com/en-us/ehszf8ax(VS.80).aspx
),
I have this public property on my master page:
public string PropertyID { get { return propertyID; } }
On the content page I am trying to reference it:
propertyID = Master.PropertyID;
When I compile I get this error: Master.Page does not contain
definition for 'PropertyID'.
The content page seems to be referencing the master page properly: <
%@ Page Language="C#" MasterPageFile="~/MasterPage_XLS01.master" ...
What am I doing wrong?
),
I have this public property on my master page:
public string PropertyID { get { return propertyID; } }
On the content page I am trying to reference it:
propertyID = Master.PropertyID;
When I compile I get this error: Master.Page does not contain
definition for 'PropertyID'.
The content page seems to be referencing the master page properly: <
%@ Page Language="C#" MasterPageFile="~/MasterPage_XLS01.master" ...
What am I doing wrong?