473,394 Members | 1,746 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,394 software developers and data experts.

Page directive of classes of ASP.NET 2.0 projects?

In ASP.NET 2.0 (using VS.NET 2005 beta 1), you can define an available base
class in the web.config file.

I can also define the available base class for a class by using the Inherits
attribute of the page directive of the class at hand, since I want different
view classes to inherit from different base classes.

However, the Inherits attribute doesn't show up in the intellisense, like it
does e.g. for web user controls.

Is this based on a design of ASP.NET 2.0, or is it a bug of beta 1? ...
other reason?

Thanx!

// Martin Rosén-Lidholm
Nov 18 '05 #1
2 1005
Hello Martin Rosén-Lidholm,

I'd heard a rumour that the Inherits attribute may not be supported in VS.NET
2005.

Out of curiousity, how are you defining a base class for your pages in the
web.config?

--
Matt Berther
http://www.mattberther.com
In ASP.NET 2.0 (using VS.NET 2005 beta 1), you can define an available
base class in the web.config file.

I can also define the available base class for a class by using the
Inherits attribute of the page directive of the class at hand, since I
want different view classes to inherit from different base classes.

However, the Inherits attribute doesn't show up in the intellisense,
like it does e.g. for web user controls.

Is this based on a design of ASP.NET 2.0, or is it a bug of beta 1?
... other reason?

Thanx!

// Martin Rosén-Lidholm

Nov 18 '05 #2
Matt,

"[...] how are you defining a base class for your pages in the web.config?"

- I'm referring to the pageBaseType attribute (see:
http://authors.aspalliance.com/aspxt...ssection.aspx).

// Martin

"Matt Berther" <mb******@hotmail.com> wrote in message
news:59***********************@news.microsoft.com. ..
Hello Martin Rosén-Lidholm,

I'd heard a rumour that the Inherits attribute may not be supported in
VS.NET 2005.

Out of curiousity, how are you defining a base class for your pages in the
web.config?

--
Matt Berther
http://www.mattberther.com
In ASP.NET 2.0 (using VS.NET 2005 beta 1), you can define an available
base class in the web.config file.

I can also define the available base class for a class by using the
Inherits attribute of the page directive of the class at hand, since I
want different view classes to inherit from different base classes.

However, the Inherits attribute doesn't show up in the intellisense,
like it does e.g. for web user controls.

Is this based on a design of ASP.NET 2.0, or is it a bug of beta 1?
... other reason?

Thanx!

// Martin Rosén-Lidholm


Nov 18 '05 #3

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

Similar topics

2
by: Jangley | last post by:
Hi Tomcat seems to be completely ignoring any resource that I specify in an <error-page> directive in the web.xml. The same webapp works under 4.0. Is there a bug in 4.1 that I'm not aware of?...
4
by: John | last post by:
Hi all, I really need help on this one. In some obscure documentation I remember MS stating that it's possible to have a web solution with both vb AND c# web pages. If that be the case, how do I...
1
by: francois | last post by:
Hi all, I need to use an helper class in my ASP.NET page. I want to use it in the actual ASPX page and not in the code behind class. For doing so I obviously need to import the package...
1
by: Axel Dahmen | last post by:
Hi, I've added a property to my Page base class (this base class inherits from Page and all my aspx.cs classes inherit from my base class). This property of mine uses the Session object to...
1
by: jhcorey | last post by:
This is an ASP.NET 2.0 question. In 1.0, common techniques for communicating between a page and the controls on it depended on being able to declare variables of the page and control types....
2
by: Ranginald | last post by:
Hi, I have two pages. Default.aspx ....Codefile="default.aspx.cs" Inherits="Web" %> and Sculpture.aspx
3
by: Managed Code | last post by:
I have a BasePage class that derives from System.Web.UI.Page. All of my content pages derive from this. The derived page classes use the following MasterType declaration that follows to reference...
4
by: Eric | last post by:
I got a particular problem in visual studio 2005 There's a user control on page and I want to meka a cast like this MyPage mp=(MyPage)this.Page; Error is : cannot cast from...
2
by: Max2006 | last post by:
Hi, Is there any way to break a web application into separated web projects, so we can re-use pages\? I am trying to put aspx pages and/or ascx pages in separated web projects,
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.