DotNetGnat
Programmer
Guys,
I have this working in C# project but not in VB project...
in the MasterPage.master.vb file, I have
in the content page, I am trying to access using...
but I am getting 'MainBody' is not a member of 'System.Web.UI.MasterPage'
Any suggestions...
-DNG
I have this working in C# project but not in VB project...
in the MasterPage.master.vb file, I have
Code:
Public Overridable ReadOnly Property MainBody() As HtmlGenericControl
Get
Return Me.maintop
End Get
End Property
in the content page, I am trying to access using...
Code:
Dim mybody As HtmlGenericControl
mybody = Master.MainBody
but I am getting 'MainBody' is not a member of 'System.Web.UI.MasterPage'
Any suggestions...
-DNG