469,898 Members | 1,417 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

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 926
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by francois | last post: by
1 post views Thread by Axel Dahmen | last post: by
1 post views Thread by jhcorey | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.