Adding a New Web Form to your Application

This topic describes how to add a new web form that is NOT a content page associated with a Master Page.

To Add a New Web Form to Your Application

  1. In the Solution Explorer, right-click the web project (second node from the top) and select Add New Item from the menu. This launches the Add New Item dialog:

  2. Under My Templates, select MM .NET Web Business Form.

  3. In the Name text box enter the name you want to give your new form.

  4. Uncheck the Select master page check box, then click Add to continue.

  5. To display the new web form in design mode, go to the bottom of the editing window and click the Design tab.

  6. From the Solution Explorer, drag the mm.css cascading style sheet (located in the App_Themes\MMTheme folder) and drop it on the new form. This adds a link to the MM .NET cascading style sheet to the form . Cascading style sheets allow you to specify a uniform look and feel for your web pages (fonts, colors, and so on). For details, see the Help topic Using Cascading Style Sheets.

  7. In the Properties Window's combo box, select DOCUMENT, then change the form's Title property to the text you want to appear in the Web Form's title bar at run time.

  8. If you want this to be your Web site's start page, in the Solution Explorer, right-click CustomerOrders.aspx and select Set as Start Page from the shortcut menu.

You can now drag and drop controls to design the page.


© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/26/18
Comment or report problem with topic