form inheritance

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

Natty Gur

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
 

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,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top