Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2004, 02:21 PM
Registered User
 
Join Date: Feb 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there a similar .epl file function in .NET

Hi Everyone,

I've been devloping sites on a UNIX box with HTML, PERL, EmbPerl and Mod_Perl. I hope someone here is familiar with using the .epl files in EmbPerl. That file basically modulates the web pages for the browser. The .epl file tells the server to load (for example...) header.html, then navigation.html, then the main page, then the footer.html file.

I know about web controls and web user controls in .NET, but I still have to place the controls in every page I create. An .epl file allows me to just create the content of the specific page and not worry about placing the controls in every page.

So, sorry to confuse anyone, BUT...Is there anything in the .NET architecture that can accomplish the same thing. In other words is there a modular epl-type technology for .NET?

Thanks for any help!!


 
Old February 11th, 2004, 09:20 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Currently, no. ASP.net 1.x doesn't support this. However ASP.net 2.0 will using what's called Master Pages. You can use a modified version of MasterPages in ASP.net 1.x but from what I've seen it's kind of clumsy.

<shameless self promotion>
In the mean time, you could use SkeletonCore. It's an assembly I came up with to do the very thing you need. Basically, you create a "BasePage" which defines the template or "Skeleton" of your site, like an .epl file. Then each regular ASP.net page inherits from it and becomes part of the layout. Take a look at the article for it which explains in much more detail how it works. You can download it there as well. (Yes it's free.)
</shameless self promotion>

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old February 12th, 2004, 06:38 PM
Registered User
 
Join Date: Feb 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

planoie,

This looks really awesome! You may have seen I already downloaded it and am working on it right now. So far so good. Your help files got me through some questions and I think I'm going to use it in my next design.

Thanks again!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Similar Delete Cascade prasanna.nadgir C# 6 August 28th, 2007 04:12 AM
Db Grid ( in VB6) similar in VB .net 2003 required venkikrao VB.NET 1 December 3rd, 2005 11:49 AM
Similar to the PROPER function in EXCEL mcinar HTML Code Clinic 7 March 29th, 2005 12:34 PM
Calling a function from .vb file to aspx file !! NitinJoshi General .NET 4 February 10th, 2005 06:23 AM
Here is some similar problem amit_bhatia Beginning PHP 1 December 7th, 2004 11:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.