Visual Web Page Template

10:20:40 PM


Static Text
Dynamic Text
Button Click
Text Input


This project uses a single ASPX template file, index.aspx, to display all five of its content pages. The actual content for each page resides in its ASCX file. The content for this page, for example, can be found in index.ascx.

The mechanism used to forward each incoming request is the Context.RewritePath method in the Application_BeginRequest event handler. A query string supplies the name of the page originally requested by the visitor.

Click the links to see how the template handles different types of content.

Read about this template: Creating a Visual Web Page Template.