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



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/8/2007 10:27:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 37 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
BOBBYOSHUN
Asp.Net User
Content not appearing in Master page5/8/2007 10:27:17 PM

0/0

here is my masterpage.master:

 

<%

@ Master Language="VB" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

script runat="server">

</

script>

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Data Migration</title>

</

head>

<

body>

Sample Site

<form id="form1" runat="server">

<div>

<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">

what

<a href="Default.aspx"></a></asp:contentplaceholder>

</div>

</form>

Maybe it works?

</

body>

</

html>

 

here is my Default.aspx page:

 

<%

@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled Page" %>

<

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

hello?

</

asp:Content>

 

This is all i get:

 

Sample Site

what

Maybe it works?

 

any ideas both files are in the folder...

Amanda Wang - M
Asp.Net User
Re: Content not appearing in Master page5/9/2007 1:53:37 AM

0/0

Hi,

I have tested the code your provided , Below is my result:

Sample Site

hello? 

Maybe it works?

 I am in a puzzle about why we got the different result with the same the code? I want to explain my result to you:

Because in your content page, the Content's  ContentPlaceHolderID="ContentPlaceHolder1", the ContentPlaceHolder control is where you want your Default.aspx to place their content. So, the content of the master page will covered

 


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
BOBBYOSHUN
Asp.Net User
Re: Content not appearing in Master page5/9/2007 4:33:54 PM

0/0

<div>

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>

</div>

 I have exactly that in my MasterPage.master and this is my whole Default.aspx page:

<%

@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled Page" %>

<

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

hello?

</

asp:Content>

Maybe I'm not running ASP.NET 2.0 and have an earlier version? is there a way I could check that via my browser

Amanda Wang - M
Asp.Net User
Re: Content not appearing in Master page5/10/2007 7:54:06 AM

0/0

 Hi,

In your code you used  ContentPlaceHolder control and Content control , these two controls are new in the asp.net 2.0, there are no in the earlier version. I think it may be the incorrect path about referring masterpage file .

 About the more information of masterpage, you could reference the below link.

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

http://msdn2.microsoft.com/en-us/library/fft2ye18(vs.90).aspx

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
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Sharepoint: Building Office 2007 Solutions in C# 2005 Authors: Scot Hillier, Pages: 513, Published: 2007
Dreamweaver CS3 Bible: Master Every Aspect of Dreamweaver - Work with CSS, Text, Images, And Links - Incorporate Flash Movies and Other Media Authors: Joseph W. Lowery, Pages: 1112, Published: 2007
Adobe Acrobat 8 PDF Bible Authors: Ted Padova, Pages: 1085, Published: 2007
Hamlet Authors: William Shakespeare, Pages: 500, Published: 2001
Building Scalable Web Sites: Building, Scaling, and Optimizing the Next Generation of Web Applications Authors: Cal Henderson, Pages: 330, Published: 2006
Software Essentials for Graphic Designers: Photoshop, Illustrator, InDesign, QuarkXPress, Dreamweaver, Flash and Acrobat Authors: Mark Gatter, Pages: 240, Published: 2006

Web:
Content not appearing in Master page - ASP.NET Forums Re: Content not appearing in Master page. 05-08-2007, 9:53 PM. Contact ... Re: Content not appearing in Master page. 05-09-2007, 12:33 PM. Contact ...
Sub Document Page Breaks Not Appearing in Master Document. (View ... Oct 31, 2008 ... Re: Sub Document Page Breaks Not Appearing in Master Document. Post by Hagar de l'Est on Fri Oct 31, 2008 10:12 pm ...
Create a Feature: Master Pages for Site Collections Once I had a working masterpage in the site (not deployed via feature), ..... Everything went well up to stage 14, but my feature is not appearing in Site ...
O'Reilly - Safari Books Online - 9780735625334 - Microsoft® Office ... NET pages: a master page and a content page are combined. ... page (not only the content page) with the name of the master page appearing in the upper-right ...
DetailsView Not Appearing during Debug - ASP.NET Forums Re: DetailsView Not Appearing during Debug .... Master file i added Content ( Default.apsx) on the Default page you have a Content Place ...
Safari Books Online - 9781590598085 - Pro SharePoint Solution ... Youll not only encounter interesting code samples, but also see how to combine these ... Once inside the gallery, the master page is stored in the content ...
DVSS Webpart not appearing - TechNet Forums Jun 9, 2008 ... Re: DVSS Webpart not appearing Comment Was this post helpful ? ... A custom master page (PerformancePointdefault.master) ...
rtf nested tables - FO: nested tables not appearing in RTF output ... FO: nested tables not appearing in RTF output (Jfor) ... TheMSsForum.com >> Publisher >> Picture not appearing when ... David R. Heinz Tag: Picture not appearing when inserted into document ... I created a master page of a background gradient with text overlay ...
Fireworks CS4 Essential Training: Using a master page So that if your page is get longer, you are not going to run into a problem. where elements in the master page end up being overlapped by content on your ...

Videos:
Led Zeppelin - Bring It On Home Led Zeppelin - Bring It on Home Copyright - 1969 Atlantic Records In 1969, English rock band Led Zeppelin recorded a version of the song for their ...
Led Zeppelin - Bring It On Home Led Zeppelin - Bring It on Home Copyright - 1969 Atlantic Records In 1969, English rock band Led Zeppelin recorded a version of the song for their ...
Luke Hadley (DVLH wrestling DVD) HHH WWE ECW CZW TNA http://www.lukehadley.com DVLH Luke Hadley. A stunt is an unusual and difficult physical feat, or any act requiring a special skill, performed for ar...
Luke Hadley DVLH wrestling video DVD HHH WWE ECW CZW TNA Cena http://www.lukehadley.com DVLH Luke Hadley. A stunt is an unusual and difficult physical feat, or any act requiring a special skill, performed for ar...
WCN # 138 - World Chess News - ( Mitt i Schack ) This episode contains: * * Chesshistory: Early american chessarticles. ----------- Since the start in August 2004, more and more channels have sta...
Cartoons are evil part 2 Cartoons are evil DVLH http://www.lukehadley.com Scoobert "Scooby"-Doo is a fictional dog and the eponymous character of the popular television serie...
Luke Hadley DVLH BYW video game Luke Hadley Classic DVLH wrestling http://www.lukehadley.com Backyard wrestling is a title applied to home filmed and produced professional wrestlin...
Cartoons are evil part 3 Cartoons are evil DVLH http://www.lukehadley.com Scoobert "Scooby"-Doo is a fictional dog and the eponymous character of the popular television serie...
Crazy drunk dancer DVLH Crazy drunk dancer. Zach V http://www.lukehadley.com "Creep" is the first single (not counting the Drill EP) released by the English rock band R...
DVLH volume 1 (WRESTLING) Classic Luke Hadley wrestling video. http://www.lukehadley.com Hardcore wrestling is a form of professional wrestling that eschews traditional concep...




Search This Site:










horizontal menu control...

problem with menu items dynamically in asp.net 2.0 menu controls

can't resize contectplaceholders...

xmlsitemapprovider requires that sitemap nodes have unique urls.

asp.net to google sitemap

security trimming error

read web address from content page

can't move my javascript menu out from behind the content page

specifying path for resources

tree view in update panel

populate treeview programatically

inheritance broken w/master pages?

exception has been thrown by the target of an invocation

specifying master pages via database

i have problem with site map path and master page ?

giving css to html tables in master page.

asp.net menu orientation

tree view state

master page button vanishes on postback

can only inherit system.web.ui.masterpage in master pages? so how do i access variables in my classes

how to fill a .skin file?

javascript in masterpages

add nodes to sitemappath at runtime?

tweaking the treeview navigation control - perhaps???

menu & security

simple background-image in theme .css file not working! driving me crazy!!!!

master page control

sitemap

get rid of triangle image on menu control

need some help with searching a treeview control

  Privacy | Contact Us
All Times Are GMT