if I do not have it place the code in a seperate file I do not get the an Inherits Page

C

Cal Who

I just noticed something strange. (I'm using a .master if that makes any
difference)


If I add a new item and chose web form and place the code in a separate file
I get in the .vb file
Inherits System.Web.UI.Page and the aspx file inherits from the .vb file.

However, if I do not have it place the code in a separate file I do not get
the an Inherits in the aspx file.

Yet I can add <script runat="server"> with Page_Load and other vb code to
the aspx file.

Is something happening behind the scene?

I noticed it because I developed a PageEx base class (that inherits UI.Page)
that I want all my pages to inherit rather than inheriting UI.Page directly.

Can you comment on the above?


thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top