form inheritance

  • Thread starter Thread starter David
  • Start date Start date
D

David

hay there again,

i am having trouble with the visual studio environment.
what i am tring to do is inherit from a base form which
is just a simple title bar and i want to use this for all
other forms via inheritance. anyway, when i follow the
walkthrough it tells me to right click on the project in
server explorer and then click on add and then inherited
form. the problem is that there is no listing of the
inherited form button... so i tried to just do the
inheritence via the code eg. : namespace.formname, and
the image will not be displayed in the derived form. so,
i am hoping that someone can tell me how to find the
visual method or specift the correct method for the code
version..

thanks for the help..
 
Hi,

Just the next version of VS (whidbey) introduces visual inheritance via
master pages. The current version let you derive your page from master
page (without visual inheritance). Nevertheless you can add from master
page controls that will be show on every derived page (rendering them in
onload method) but just in run time (you wont see the control in
designer or HTML editor).

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 
Back
Top