Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 January 23rd, 2004, 11:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default Design Question

I'm wondering if you can add something to every page like Copyright information from the global.asax page. That way everypage gets it and you don't have to worry about forgetting to add it to each page.
I'm lazy and would like to add it to one page and all pages receive it. ;)

Is that wishful thinking or can it be accomplished?
 
Old January 23rd, 2004, 12:17 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

I believe templates are going to be introduced in the Whidbey release of .net.

However, if you want to create your own, this should get you started:

http://www.devx.com/dotnet/Article/1...k=DXRSS_DOTNET

J
 
Old January 23rd, 2004, 01:53 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Or you could try this as well...

http://www.geekdork.com/SkeletonCore

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old January 23rd, 2004, 03:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by katsarosj
 I believe templates are going to be introduced in the Whidbey release of .net.
However, if you want to create your own, this should get you started:
http://www.devx.com/dotnet/Article/1...k=DXRSS_DOTNET
J
Very interesting article. I've run into all the problems described and I'm looking forward to whidbey!

Thanks.

 
Old January 23rd, 2004, 04:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

This is a solution I was thinking about. So far I have done what the article said stay away from. I have functions that build the html for the header and footer and left nav. I was thinking it would be nice to click on a link and based on the user's selection load a certain user control for the requested page. Peter, is that what skeletonCore offers? Or am I reading it wrong?

 
Old January 23rd, 2004, 04:41 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

SkeletonCore provides functionality for creating templates. If you want a system where a certain user control is put onto the page based on some selection (determined by a value from the querystring or something like that) you'll have to build that yourself.

The point of SkeletonCore is that you can use it to create the basic structure of the application, and then each ASPX just provides the "content" for that page (instead of having essentially 1 ASPX page and many user controls with content). It also adds some functionality that you don't get with standard ASPX and ASCX pages that enhance the interoperability between pages and user controls.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
design question androoo ADO.NET 1 November 13th, 2004 09:41 AM
design question androoo Classic ASP Databases 1 November 13th, 2004 09:41 AM
design question androoo General .NET 1 November 13th, 2004 09:40 AM
design question androoo .NET Web Services 1 November 13th, 2004 09:39 AM
Design Question flyin General .NET 4 July 21st, 2004 03:59 PM





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