B
Brian_RSI
Guest
So we have Master Pages in the project and they Inherits a Class that Inherits MasterPage, so we can have "code-reuse". However, it keeps losing Intellisense back in the Content pages trying to use Properties from the MasterPage inherited Class. I keep needing to close the Solution and it "refinds" the Intellisense and eventually loses it again. In prior versions of VS i had to clear out cache because it kept pointing to cached files. What a pain. Can you please fix this? This has been going on for a while now, i think since 2012 or so. Its annoying and time consuming. The MasterPage of the Content page does NOT show red squiggles, but the Content page of the Master does show red squiggles. It fills up the Error List window too. Project runs fine, compiling doesn't make them go away either.
I am also using "MasterType" on the aspx markup.
PAIN PAIN PAIN! Please make it stop!
To reiterate:
''' MASTER PAGE
Partial Class Ipxmhdatig_members_groups_site_contentsub_groups
Inherits MyBaseMasterPageGlobal
''' CLASS
Public Class MyBaseMasterPageGlobal
Inherits MasterPage
Public ReadOnly Property IsTest As Boolean
Get
Return True
End Get
End Property
'''CONTENT PAGE
Private Function GetIsTest () As Boolean
''' THIS GIVE RED SQUIGGLES! BUT IT WORKS, OF COURSE
return Me.Master.IsTest()
End Function
Continue reading...
I am also using "MasterType" on the aspx markup.
PAIN PAIN PAIN! Please make it stop!
To reiterate:
''' MASTER PAGE
Partial Class Ipxmhdatig_members_groups_site_contentsub_groups
Inherits MyBaseMasterPageGlobal
''' CLASS
Public Class MyBaseMasterPageGlobal
Inherits MasterPage
Public ReadOnly Property IsTest As Boolean
Get
Return True
End Get
End Property
'''CONTENT PAGE
Private Function GetIsTest () As Boolean
''' THIS GIVE RED SQUIGGLES! BUT IT WORKS, OF COURSE
return Me.Master.IsTest()
End Function
Continue reading...