CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 7/29/2006 2:20:55 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
ben21
Asp.Net User
Masterpage & content placeholder markup7/29/2006 2:20:55 PM

0/0

Hi there,

Can anyone tell me what HTML mark up the new asp:content & asp:placeholder etc controls get turned into at runtime? I'm wondering if they get turned into tables (like asp:datagrid does) or into seomthing more accessible like a DIV.

Thanks!

Ben

Yell
Asp.Net User
Re: Masterpage & content placeholder markup7/30/2006 7:24:52 PM

0/0

As far as I Jiggled it around, I fount that the Content Placeholder (for masterpages) is turned into NOTHING - it simply "Copy-Pastes" the information inside the aspx file into the master page, and sends the master page.

Good things don't come in small packings -
They're an MSI.
Dave Sussman
Asp.Net User
Re: Masterpage &amp; content placeholder markup7/31/2006 3:20:28 PM

0/0

That's correct; these two controls don't actually render any content, they are purely for the merging of the master and content pages. Surround the ContentPlaceHolder with div elements if you require for layout purposes though; that's what I do.

Dave

Yell
Asp.Net User
Re: Masterpage & content placeholder markup8/1/2006 1:26:49 PM

0/0

Also, I'm sure you figured it out on your own, but just to post a nicer edge to this thred :

if you need all your Content Placeholder to be more accessible, try :
<%@ Page Language="C#" MasterPageFile="~/Index.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Galleries_Default" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="WhatYaNeed">
       Ta-Da.
    </div>

</asp:Content>


hope that clears out that last piece of information.

Good things don't come in small packings -
They're an MSI.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
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 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, 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
C# for Programmers: Updated for C# 2.0 Authors: Paul J. Deitel, Pages: 1317, Published: 2005
Visual C# 2005: How to Program Authors: Harvey M. Deitel, Paul J. Deitel, Pages: 1591, Published: 2006
Professional DotNetNuke 4: Open Source Web Application Framework for ASP.NET 2.0 Authors: Shaun Walker, Joe Brinkman, Bruce Hopkins, Scott McCulloch, Patrick J. Santry, Chris Paterra, Scott Willhite, Dan Caron, Pages: 517, Published: 2006
Visual Basic 2005: How to Program Authors: Harvey M. Deitel, Pages: 1513, Published: 2006

Web:
ContentPlaceHolder Class (System.Web.UI.WebControls) A ContentPlaceHolder control defines a relative region for content in a master page, and renders all text, markup, and server controls from a related ...
ASP.NET QuickStart Tutorials A Master Page is a page that contains markup and controls that should be shared ... The Master Page in this case defines two ContentPlaceHolder regions, ...
ASP.NET - Master Page Use What is in a master page? The ContentPlaceHolder markup tag is where content page content is inserted into each page. So, now we want to make some content ...
ASP.NET.4GuysFromRolla.com: A Sneak Peak at MasterPages in ASP.NET 2.0 Jan 5, 2005 ... A MasterPage can have multiple content placeholders. ... between the markup to lay out your pages and the actual content-specific markup. ...
WorldofASP.NET: Working with Master Pages and Basics of Master ... Aug 23, 2007 ... You can have as many ContentPlaceHolder in your Master Pages, ... With MasterPages you can achieve true separation between the markup to lay ...
ASP.NET Master Pages Overview Page Master Page (Master page markup and controls) ContentPlaceHolder Content page markup and server controls (Master page markup and controls) ...
Creating a Layout Using Master Pages Master Pages can contain markup, controls, or code, or any combination of ... A ContentPlaceHolder defines a region of the master page rendering that can be ...
Masterpages and Response.Write prblem - .NET ASP Write then the markup appears in the masterpage content ... (not in the location of the contentplaceholder of the masterpage.) ...
Master Page Functionality A Master Page is a page that contains markup and controls that should be shared ... A ContentPlaceHolder defines a region of the master page ...
Masterpage & content placeholder markup - ASP.NET Forums Re: Masterpage & content placeholder markup. 07-30-2006, 3:24 PM ... Re: Masterpage & content placeholder markup. 07-31-2006, 11:20 AM ...




Search This Site:










the data at the root level is invalid? upgrade of 3.1.1 from 3.1.0

hi, i want to know where can i find help about web parts?

prevent users from accessing file by typeing the path into url.

web.config encrypting website shared host asp 2.0

different javascript files for each child page

installing dotnetnuke 3.0.13 over cs v1.0 database.

hey bonder

membership login not working. vc 2005 express to sql 2005 (none express)

inconsistent build error messages

unable to open design view in vwd - unrecognized tag prefix or device filter 'asp'

windows authentication usercredentials

anyone managed to have a full length horizontal menu looking good within the master page?

can't find dataconfig section

dnn plug in on wh4l & dnn 3.1

problem using master page

free text box in dnn

different developers working on same project in vwd 2005

solpart menu against sql server as data source

export item template problems with embedded resources

how to change the resolution status of a public issue in gemini

good dal component?

forms authentication problem

arrgghhh need some quick(?) help

what is server.mappath?

using user control a crossed subdomain

stop redirecting to login page

bar chart component

new version of speerio file manager pro released

install failure on forum module. dnn version 3.0.13 forum 3.10.04 - install failure-the element 'folder' has invalid child element

how to access the textbox control in the contentplace holder from the user control

 
All Times Are GMT