How to Make Web Forms from other Web Forms

In putting together an ASP.NET application for a biz application, we have come to the point where there are three different types of basic forms which have, for the most part, been perfected.  Now its is a matter of cloning those forms for various uses and modifying or adding code to suit the particular need.

Copy and paste works OK, but there is a lot of changing of certain words, etc.
Is there a way in ASP.NET to take these basic forms, turn them into classes or templates, create forms from them, then add or overwrite code? ? (Anybody who is a Vis Fox Pro programmer would know immedisately what I mean.
Many thanks
Mike Thomas
0
GeyikBaba
6/24/2004 2:00:14 AM
📁 asp.net.getting-started
📃 91979 articles.
⭐ 4 followers.

💬 2 Replies
👁️‍🗨️ 7406 Views


Hi,

what you're referring to is known as master pages. Unfortunately asp.net 1.x doesn't natively support this but it will be standard available in its next incarnation version 2.0. There are some workarounds off course (other people were also looking for this feature in the past).
I used this implementation in the past and it worked for me: Visual Inheritance.
Grz, Kris.

Read my blog. Handy Firefox plugins for web developers.


Workaround for non working Mark as answer buttons.
0
XIII
6/24/2004 7:29:16 AM
When I was looking at the gotdotnet site I also found this implementation:

Master pages v2.0.
Didn't check this one out but probably will in the near future :-) .
Grz, Kris.

Read my blog. Handy Firefox plugins for web developers.


Workaround for non working Mark as answer buttons.
0
XIII
6/24/2004 7:31:14 AM
Reply: