CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/3/2007 4:03:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
HoosierDaddyTim
Asp.Net User
New at this, help with Master Pages and Content place holder in content pages9/3/2007 4:03:17 PM

0/0

Hi folks. Hey, I noticed that if I start off with a Master page and I get it pretty much set up the way I want using mostly layers, etc, with the area  that I want the content to be located to be in the middle of the page, I can't seem to get the content place holder to resize to the size I want.. For instance, to be more clear. I want to be able to have a header, and a stripe down the sides of the page that I can use for menu's and then use the space between the stripes which is going to be like 400 pixels as the content area.. But, I want that content area to be scrollable if necessary.. Kinda like an I Frame in the middle of the page located at another web site that I help a buddy with from time to time at: http://www.levelheadedbob.com .. Check out the articles for instance and you can see how they open..in the middle of the page and then there is a rotator on top, and the sides are used for links / menu's.. I want to do this again, but I was going to use div area's / layers to show and hide, etc.. and some AJAX controls to round the corners, etc.. etc.. Is this possible? Any tips on using the content place holder or moving it arouond and getting it placed? Should I use a table for the Master page and put the content holder in there? I had hoped to use mostly CSS and Div tags to move stuff around such as place menu's where I wanted, etc, using classes.. Hope this all makes sense.. I just woke up not long ago and need a cig and coffee.. hehe

 

Tim

Amanda Wang - M
Asp.Net User
Re: New at this, help with Master Pages and Content place holder in content pages9/5/2007 5:48:01 AM

0/0

Hi Tim,

Let's clarify, as your above description, you want to resize the contentplaceholder on the master page, and make the content areat to be scroll of necessary, right?

You can put the contentplaceholder in a div in the master page.  Set the div's overflow is auto, the content area will show the scroll if the content is too long.

for example:

<div style="overflow:auto; height:250px">
        <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
        </asp:contentplaceholder>
</div>
Hope it helps.
 

Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
HoosierDaddyTim
Asp.Net User
Re: New at this, help with Master Pages and Content place holder in content pages10/14/2007 10:36:23 PM

0/0

Hi,


Actually, I want the Content place holder to resize on each page if that's possible? I mean, it should resize if you ask me on each new page that I use in the web project. One page might not need to scroll, but another might need to do so. That said, they are all (The content holders on each page) in the same spot / position on the page. Under the header, and to the right of the menu. So, I'm using a basic layout. Header to the top, menu to the left, each in their own Div Tags and positioned using positioning! The Content place holder is in another div below the header div. That said, I want to be able to add more divs is needed inside the Content place holder that will allow me to add more paragraphs of text.. etc, etc.. I'm wondering I guess what's the best way to format these paragraphs? Table inside a Div, Div inside a Div, etc? Each Content place holder just needs to hold several paragraphs of text, but what if I wanted to format the Content holder to hold divs to the left and to the right of each other in a horizontal matter. The divs when I try this stick outside of the content place holder and it won't resize? Hope that all of this makes sense.. You can see an example at: http;//www.seymourchristcovenant.org

God Speec

Tim 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
Beginning SharePoint 2007 Administration: Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 Authors: Göran Husman, Pages: 578, Published: 2007
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005

Web:
Introduction to ASP.NET master pages - SharePoint Designer ... What are content pages? What are content placeholder controls, content controls, .... with your SharePoint site, or by building an entirely new master page. ...
Shane Perran’s SharePoint Customization Blog » Blog Archive » WSS ... WSS 3.0 Master Pages and Content PlaceHolder’s: A Desktop Reference Companion ... articles published detailing the placeholder which has been a huge help. ...
PCQuest : Developers' Lab : A Common Look with Master Pages For instance, you can use a Master Page for ‘branding’ your company logo and tagline outside the placeholder. All content pages will then get this branding ...
Dr.Bob Examines... #99: ASP.NET 2.0 Master-Content Pages NET master-content pages are all about, and what the CSS Layouts in the ... a different empty page now, showing a content placeholder in the designer. ...
Wrox Article : Using ASP.NET Master Pages for Consistent Site ... This article will go through the ins and outs of Master Pages. .... So, maybe the Master Page includes a blank content placeholder in the region just ...
Windows SharePoint Services Default Master Pages Any new content pages that are created in this site ... The placeholder " PlaceHolderTitleInTitleArea" is actually "PlaceHolderPageTitleInTitleArea" in ...
Master Pages in ASP.Net 2.0 - An Advanced Look The area defined by the content place holder acts as a normal web-page. ... One draw-back of using the master/content pages is that for the content pages, ...
ASP.NET QuickStart Tutorials The Master Page has been updated to use server controls in place of HTML: ... Content Pages would then derive from the appropriate section master for the ...
Centralize site design with ASP.NET 2.0 master pages Many new features help to streamline development; one of my favorite ... Master pages contain content placeholder controls to accept the output from content ...
Customizing WSS 3.0 with Master Pages: ASP Alliance Master Pages, Content Place Holders and Site Definitions .... works only for MOSS 2007, for wss v3 what do you have to do to create/add a new Master Page? ...

Videos:
Philip Pocock 100 Days 100 Guests event (Day 63) Documenta X 1997 Philip Pocock speaking at Documenta X about hypercinema and the collabortative work produced in Uganda by Documenta X - A Description of the Equator ...




Search This Site:










treenodes removed after login

how to remove top level menu items

security trimming on tree menu

menu navigation control overlapping with text labels - need help, please

use master page but different title for pages

javascript and masterpage

login page doesn't follow master page style

applying themes

asp.net 2.0 menu control in a masterpage display problem

display the same links on every page

is there a way to make the wizard control databound?

masterpage question

how to build navigation buttons that do not scroll with the rest of the page?

a reference problem

updating tree view

multiple content

asp.net navigation

images on master disappear on pages in another directory

findcontrol/masterpage....ugh

web.sitemap options for line break

sitemap datasource menu

master page

javascript & masterpages

sitemap giving error

amazing one but one customization question

how do i set the master page background image programmatically?

hiding menu items generated by web.sitemap

horizontal dividing line between nodes in a treeview?

how do i use the built in menu control as a user control??

custom page base referencing my master page type.

  Privacy | Contact Us
All Times Are GMT