I was just wondering if anyone else has had this problem. If I create a
page that derives from System.Web.UI.Page ie and then have a class derive
from it (so UI.SomeBasePage inherits from System.Web.UI.Page)
public class SomeClass : MyNameSpace.Something.Core.Web.UI.SomeBasePage{
}
And SomeBasePage has a Property called Whatever - If I try referencing it
via base.Whatever - it will work and compile but intellisense doesn't show
it. This really sucks b/c if the methods I'm using have parameters - then I
have to either remember what they are or look them up or whatever. However,
if I use this.Whatever, then intellisense shows up. This makes very little
sense to me b/c although they are essentially the exact same thing if I'm
not overriding the property, I think it obscures things - if I want to
reference the base classes (property/method) then I should reference it,
otherwise I should use the derived class' property/method.
Is there a reason for this and I'm just missing it? This obviously isn't
the same behavoir you'd get with other classes so why is it different for
Web Pages?
--
W.G. Ryan, MVP
www.tibasolutions.com |
www.devbuzz.com |
www.knowdotnet.com