473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 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 827

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Peter Chant | last post by:
I'm having a bit of fun with a database I am currently creating using MySQL and PHP. I seem to have found an odd interaction between Galeon (1.3.15) and PHP. With plain HTML no problem but when I...
13
by: Tek Boy | last post by:
I've been experiencing some (reproducable) wierdness when I try to generate some very basic HTML using ASP. Check out the following (basic) ASP code: ===========================================...
1
by: Bill Talada | last post by:
Intellisense used to work beautifully. In the last couple months, I have to rebuild about every minute to keep intellisense working in dozens of different projects. I moved all imports statements...
0
by: amber | last post by:
Hello, I'm having some wierdness with a report I've created in VB.NET (with Crysal Reports). The report is called repCPDocSubmissionSummary.vb I created it a while ago, and have been using it...
5
by: Eduardo Olivarez | last post by:
The following code does not work correctly on my machine. Either one of the scanf()'s alone work perfectly. However, when they are combined, the second scanf() call just reads what the first one...
2
by: louise raisbeck | last post by:
Hi, I am using c#. i have my server code within script tags on my aspx page i am not using code behind. Do you not get intellisense when working like this? it would speed up my work considerably...
0
by: W.G. Ryan eMVP | last post by:
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...
7
by: Andrew Robinson | last post by:
I have an overridden control: public class DJGridView : GridView { } All works great except that I loose IntelliSense for all of the child elements while editing the HTML file from within...
4
by: DotNetNewbie | last post by:
Hi, VS.NET is not showing me any intellisense on a page that references a master page in the codebehind. (the codebehind references a custom class that inherits from web.ui.page, and that...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.