471,350 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Intellisense Wierdness when inheriting from UI.Page


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
Jul 21 '05 #1
0 757

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Peter Chant | last post: by
13 posts views Thread by Tek Boy | last post: by
1 post views Thread by Bill Talada | last post: by
reply views Thread by amber | last post: by
5 posts views Thread by Eduardo Olivarez | last post: by
2 posts views Thread by louise raisbeck | last post: by
reply views Thread by W.G. Ryan eMVP | last post: by
7 posts views Thread by Andrew Robinson | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.