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
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