Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 July 20th, 2008, 04:52 PM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default first page display

Fantastic project!

I’m quite new to asp.net and there is something I can’t figure out:

I’d like to remove the “latest products” part from the first displayed page.
the only way I managed to do it is by excluding the webpage GetProductsRss.aspx from the project, which of course isn’t the solution. I can’t figure out how this mechanism works.
Any help?

thanks
 
Old July 20th, 2008, 05:46 PM
Authorized User
 
Join Date: Jan 2007
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi eyalec,

The content displayed on the first page (default.aspx) is controlled using Web Part Zones. Using Web Parts allows you and your site members to customize the layout and appearance of content on your site. In TheBeerHouse, a number of controls have been made into web parts that are then used within the defined Web Part Zones. So to change the appearance of your site, log in to the site as admin. Click the Edit Button and you can then edit or remove different web parts (like the Latest Products) from your zones. If you wish to add other Web Parts you can click the Catalog View link which will give you a list of the different Web Parts available with the ability to add to a each zone.

By default you will be changing your own individual preferences. If you wish to change for the entire site you need to click the Switch Scope link.

Have a look in the code behind of the Template.Master master page and it should give you a better idea of how this is structured.

Hope that helps.
 
Old July 21st, 2008, 03:17 AM
Registered User
 
Join Date: Jul 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by retroviz
 Hi eyalec,

The content displayed on the first page (default.aspx) is controlled using Web Part Zones. Using Web Parts allows you and your site members to customize the layout and appearance of content on your site. In TheBeerHouse, a number of controls have been made into web parts that are then used within the defined Web Part Zones. So to change the appearance of your site, log in to the site as admin. Click the Edit Button and you can then edit or remove different web parts (like the Latest Products) from your zones. If you wish to add other Web Parts you can click the Catalog View link which will give you a list of the different Web Parts available with the ability to add to a each zone.

By default you will be changing your own individual preferences. If you wish to change for the entire site you need to click the Switch Scope link.

Have a look in the code behind of the Template.Master master page and it should give you a better idea of how this is structured.

Hope that helps.

Thanks,
it works great!





Similar Threads
Thread Thread Starter Forum Replies Last Post
datagrid does not display next page vhrao ASP.NET 2.0 Basics 9 July 22nd, 2007 12:28 AM
problem about page display bbqlee Access 1 July 16th, 2006 02:06 AM
Display page while processing echovue Classic ASP Professional 1 May 28th, 2006 09:30 AM
aspx page not display! angelran Dreamweaver (all versions) 6 August 15th, 2005 03:17 AM
Is there a way to capture "page cannot be display" delcyan Javascript How-To 1 July 3rd, 2003 07:52 PM





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