Yes, I've done both already used elsewhere in the application. Intellisense
will not "see" the FindControl method in the class.
<%= Clinton Gallagher
> Have you tried to use FindControl to get a reference to
> MemberLoginStatus within the Master Page.
[quoted text clipped - 14 lines]
> 'Within the content page.
> Ctype(Me.Master, CorporateMaster).MemberLoginStatus.Enabled = True
CaffieneRush@gmail.com - 21 Mar 2006 00:25 GMT
That's odd.
I tested both techniques and verified that they both work before
posting my suggestion.
And there was intellisence support for FindControl() as well. Of
course, the page was not inheriting from a base class page.
Just to be sure, if your master page was set in the base class but not
the sub class then I would do something like the following:
'vb.net code
Dim MyLinkB As LinkButton =
Me.MyBase.Master.FindControl("MyLinkButton")
Finally, check if you've referenced your master page properly.
clintonG - 22 Mar 2006 17:56 GMT
I sure appreciate your insights but note I've used properties (early bound)
and the FindControl method (late bound) myself but I'm not trying to inherit
from the Master from a content page. I've been having this conversation in
the Forums [1] and I'm going to try the suggestion to modify the Master to
inherit from a base class itself and then implement properties on the
controls I need to access.
<%= Clinton Gallagher
[1] http://forums.asp.net/1233555/ShowPost.aspx
> That's odd.
> I tested both techniques and verified that they both work before
[quoted text clipped - 9 lines]
>
> Finally, check if you've referenced your master page properly.