Visual Web Page Template

12:45:29 PM


Pages

Home
Static Text
Dynamic Text
Button Click
Text Input

Content

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.