Well I ended up closing visual studio, re-opening it and basically
intellisense was then picking it up.
The source of my problem (why I needed to get a property from the master) in
the first places ends up being because I am using Atlas update panels on a
login control and completely forgot that the login control was wrapped.
The intellisense not picking up may have something to do with Atlas but
either way I am taking out Atlas and then seeing if I can use it again only
after everything is finished.
"Steve C. Orr [MVP, MCSD]" wrote:
You have to cast it to the specific kind of Master Page in order to access
the custom properties you've created.
The generic MasterPage base class (which you're essentially referencing
currently) doesn't have your custom properties so you can't access them that
way.
Here are more details and code samples:
http://SteveOrr.net/faq/PassDataToMaster.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...I have set up public properties, methods and even classes inside my
masterpage.
only when I go to my content page they are not visible. I try
master.<where is my property>
and even
asp.nameofmymasterpage.<no public property here>
on my content page I also have to directive
<%@ MasterType virtualPath="~/AtlasMaster.master"%>
nothing..nada.
I simply cant do what I have seen written in many examples.
why?