curiouswebster
asked on
Referencing a property on the Site.Master?
I have added this line to my .aspx page:
MasterPageFile="~/Site.mas ter"
Here is the start of the Site.Master.cs file:
public partial class Site : System.Web.UI.MasterPage
{
public RDDBAdminDataStore RDDB { get; set; }
I get these squiggly lines in the Site.Master with the following error:
The name 'RDDB' does not exist in the current context.
When I compile, they go away, then shortly return.
Any idea what's wrong??
newbieweb
MasterPageFile="~/Site.mas
Here is the start of the Site.Master.cs file:
public partial class Site : System.Web.UI.MasterPage
{
public RDDBAdminDataStore RDDB { get; set; }
I get these squiggly lines in the Site.Master with the following error:
The name 'RDDB' does not exist in the current context.
When I compile, they go away, then shortly return.
Any idea what's wrong??
newbieweb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
NP. Glad to help : )
ASKER
<%@ Page Language="C#" MasterPageFile="~/Site.mas