The HTML isn't part of the class. Why don't you simply create a user
control and Page.LoadControl it (or Register it), if I understand what you
are trying to do, this is how you should do it.
"Mircea Pleteriu" <mpleteriuasp-gmbh.de> wrote in message
news:OXhw7PfSDHA.1916TK2MSFTNGP12.phx.gbl...page> I have created an aspx page called Page1. The class associated with the> in code behind is abstract.
> Now I want to create another aspx page call Page2 that inherits the Page1.
> It seems like the Page2 inherits the code behind defined by Page1 but it
> does not inherits the html content (the controls) of the Page1.
> So, I do not have the controls on my new page.
> Can somebody tell me where I am wrong?