Click here to Skip to main content
15,892,298 members
Articles / Web Development / ASP.NET

Page Template Framework for ASP.NET 1.1

Rate me:
Please Sign up or sign in to vote.
4.64/5 (63 votes)
16 Nov 20048 min read 298.1K   5.3K   168  
The Page Template Framework for ASP.NET 1.1 provides a configurable solution for creating page templates in a Web application. Using this framework, page templates are stored in an XML file, and can be dynamically configured without recompiling the Web application.
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb" Inherits="PageTemplateSample_vb._Default"%>
<form id="Form1" method="post" runat="server">
	<p><asp:Label id="lblContentTitle" CssClass="SiteContentTitle" runat="server">Lorem Ipsum Dolor</asp:Label></p>
	<p>
		Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed mollis. Praesent 
		blandit vehicula nunc. Maecenas rutrum nisl non dolor. Proin nibh. Curabitur 
		arcu massa, sagittis in, viverra non, imperdiet non, orci. Phasellus lacus. 
		Donec vitae urna sit amet tellus rutrum tempus. Integer volutpat auctor arcu. 
		Vivamus vel orci. Vestibulum ac wisi.
	</p>
	<p>Mauris a leo. In in sem. In adipiscing posuere leo. Aliquam semper. Nam aliquet 
		dui eu neque. Phasellus viverra leo non metus. Vestibulum ante ipsum primis in 
		faucibus orci luctus et ultrices posuere cubilia Curae; Etiam tristique tortor 
		non libero. Morbi condimentum quam at mi. Mauris nisl wisi, luctus sed, 
		condimentum eu, bibendum a, tortor. Class aptent taciti sociosqu ad litora 
		torquent per conubia nostra, per inceptos hymenaeos. Praesent feugiat ipsum id 
		diam. Quisque cursus ipsum mattis mauris. Vestibulum non sem sit amet libero 
		molestie dapibus. Vestibulum leo ligula, ultricies in, mattis vitae, semper 
		vitae, est. Phasellus scelerisque, orci non convallis nonummy, sem mauris 
		gravida dolor, ac blandit sem mauris ut justo.
	</p>
	<p>Donec vitae nunc. Curabitur ac ante. Sed vehicula pellentesque nibh. Praesent 
		iaculis leo nec leo. Aenean rutrum risus a sapien tempus rhoncus. Aliquam risus 
		sem, ornare vitae, eleifend a, cursus at, enim. Vestibulum in eros tristique 
		libero pellentesque adipiscing. Nullam neque. Praesent et purus ac nulla 
		malesuada hendrerit. Donec at libero. Maecenas dapibus metus tempus felis 
		suscipit pellentesque. Vivamus fringilla cursus nibh. Cras semper. Morbi ac 
		odio at massa tincidunt consequat. In a eros. Mauris fringilla. Sed ut purus 
		eget eros convallis commodo. Etiam purus nisl, bibendum id, tincidunt non, 
		fermentum eu, neque. Proin libero risus, pellentesque cursus, suscipit quis, 
		rutrum vel, lorem. Sed sed dui ac elit hendrerit auctor.
	</p>
</form>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
Scott Van Vliet is a Principal Consultant with Neudesic based in Irvine, CA. He has been designing and developing technology solutions for the past 8 years, and has worked with Microsoft .NET technologies for over 3 years. Scott is currently developing solutions with ASP.NET 2.0, C# 2.0, Windows Presentation Foundation (codename "Avalon"), SQL Server 2000/2005, Reporting Services and SharePoint.

Scott welcomes feedback and can be reached through his Weblog at http://weblogs.asp.net/skillet/.

Comments and Discussions