472,809 Members | 3,993 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,809 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 809

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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.