CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 11/21/2007 2:18:28 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 17 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
john1506
Asp.Net User
MasterPage11/21/2007 2:18:28 PM

0/0

I am writing my first asp.net application and I am using a masterPage.  For each page, I have been putting a table inside the ContentPlaceHolder to provide some padding and spacing.  While I can save the table inside the ContentPlaceHolder,it does not seem to affect any individual pages and any changes I make to the table (increase padding) do not show up in the individual pages. 

How can I use a table inside the ContentPlaceHolder?

Thanks

Aeson07
Asp.Net User
Re: MasterPage11/21/2007 2:40:47 PM

0/0

Anything inside the ContentPlaceHolder on the master page will be overwritten by the content page's content.  Say you have ContentPlaceHolder1 and ContentPlaceHolder2, each has a table in it on your master page.  In your content page, you have something inside ContentPlaceHolder1 but nothing inside ContentPlaceHolder2; when you run your web page, your content page's content will be shown in ContentPlaceHolder1 and your master page's content (in this case a table) will be shown in ContentPlaceHolder2.  If you want to use a table to format your content panes, you should put the ContentPlaceHolders inside the table, instead of the other way around.

Hope this helps. 

krishinkk
Asp.Net User
Re: MasterPage11/21/2007 2:55:01 PM

0/0

Hi John

When we use master pages, we provide ContentPlaceHolders (cph) for the different pages that use it. The content within each ContentPlaceHolder could be entirely different depending upon the page.

If you could elaborate a little bit more on you requirement....

 

Krishin.


Thanx

Krish
ganesansankar
Asp.Net User
Re: MasterPage11/26/2007 10:57:34 AM

0/0

Hi,

Refer this link and also try to look into the Designs and Patterns of MS

http://msdn2.microsoft.com/en-us/library/system.web.ui.masterpage.aspx 


Regards
Ganesan S
"Hard Work Never Fails"

Please "Mark as Answered" if helpful for you.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Professional C# 2005 with .NET 3.0 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1748, Published: 2007

Web:
ASP.NET Master Pages Overview A single master page defines the look and feel and standard behavior ... <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> ...
MasterPage Class (System.Web.UI) Minimal)> _ Public Class MasterPage _ Inherits UserControl ... The MasterPage class is associated with files that have a .master extension. ...
Data Tutorial #2: Building our Master Page and Site Navigation ... NET 2.0 Master Page feature. And my site and link structure is nicely encapsulated by ..... Have you run into any problems with MasterPages, SiteMap and the ...
ASP.NET.4GuysFromRolla.com: A Sneak Peak at MasterPages in ASP.NET 2.0 Jan 5, 2005 ... This article, by Scott Mitchell, looks at one of the many exciting features of ASP.NET 2.0 - MasterPages. MasterPages provide a simple means ...
VS 2008 Nested Master Page Support - ScottGu's Blog NET and its nested Master Page support is really easy with VS 2008. ..... I do think that almost every web site should use nested masterpages. ...
Introducing ASP.NET 2.0 Master Pages NET will serve up the page by merging the content from the master page with ... NET Whidbey, you create a master page by opening the Add New Item dialog box ...
Master Page MasterPage of Facts about Poland, maps of Poland and information for Poland. The Master Page for travel and business oppportunities with Polish products and ...
ASPAlliance.com : The #1 ASP.NET Developer Community : Paul ... This article demos an improved version of MasterPages that has designer support, ... To use the MasterPage Template you start by creating an empty ASP. ...
CodeProject: An Extensible Master-Page Framework for ASP.NET 1.1 ... Development of a framework for master-pages using ASP.NET and C#.; Author: Shams Mukhtar; Section: Design and Architecture; Chapter: Development Lifecycle.
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Apr 11, 2006 ... master page masterpages asp.net 2.0. ... In fact, the MasterPage class derives from the UserControl class. I’ve found it useful to only ...

Videos:
Modify a Master Page in SharePoint Designer 2007 In this video you will learn how to use SharePoint Designer to modify and re-brand a SharePoint default.master page. For more information, see http:...
master page master page
ZyWeb - Master Page Tutorial A tutorial for ZyWeb.com that explains how to create a Master Page, from which you can copy the layout and theme to your other pages and reduce the a...
RapidWeaver Screencast: The Blocks Plugin's Master Page RapidWeaver Classroom presents a tutorial on using the Master Page as a part of the Blocks plugin for RapidWeaver.
Rock Cruz interviews Master Page and Sean Eichenberg Rock roams the Martial Art Competitions and Exhibitions at The Louisville Convention Center in Louisville, KY Shooting and editing by Shooter Russell
Create Pages From a Master Page in SharePoint Designer 2007 In this video you will learn how to use SharePoint Designer to create a new SharePoint page based on a specific master page. For more information, s...
RCxhet - Como crear un master page ASP .net Part 1 Crear Master Page Code Beside Tabla invisible sin bordes Bordes de Mi pagina Espacio entre celdas ContentPlaceHolder Insertar Imagenes en mi web Agre...
Creación de un MasterPage Creación de un MasterPage
MasterPage Ejemplo muy simple de como crear una MasterPage
Asp con un master page aplicacion de asp con un master page




Search This Site:










indent on dropdownlist

session state declaration

encrypt / decrypt for asp & asp.net

how to use already deveoped html template in .aspx page

asp .net 2.0 and small business server 2003

format search results from index service in data list

how to do

restarting a web app

what is the best way to pass variables between 2 applications...

try...catch question

beginning with c#.net error

retrieving data through prompt box

cms with asp.net ?

allowing the entering of brackets <> in textbox controls

getting server date and time

force fullscreen

display image from sql db

system.formatexception: input string was not in a correct format.

what are the methods of passing variables in asp.net from one page to another?

virtualpathproviders, virtualfiles and images

how do i split a variable??

can't see updated table in my drop-down list box

nullable interface

invalid path for child request

crossword or puzzles game

how do i search data by using drop down list ?

reg windows controls in asp .net

how to display a message in visual studio 2008 like alert in javascript?

exception

how to post values from asp.net to asp application vai post

  Privacy | Contact Us
All Times Are GMT