473,322 Members | 1,401 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,322 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
Nov 22 '05 #1
0 743

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...
0
by: Pete | last post by:
Hi, Can anyone tell me why intellisense auto completion etc doesn’t work when writing VB script on asp.net pages in VS.net. If I load a legacy asp page intellisense works fully in the VB...
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: ===========================================...
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...
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...
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.