Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Masterpage
Message
 
 
À
17/03/2009 09:05:42
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01388644
Message ID:
01388840
Vues:
31
>Hi,
>I try to do simple thing.. ( I see a education video.. and do the same, but no success)
>
>Create new project
>Create new master page.
>Add DIV and ContentPlaceHolder to the master page.
>
>Open Default.aspx
>Set the MasterPageFile="~/mypage.master"
>
>Page repaint - all fine.
>Delete HTML code - leave only header
>Click on ContentPlaceHolder and select "Create Custom Content".
>
>It creates someting like
>
><asp:Content ID="Content1" runat="server" contentplaceholderid="MyContent">
></asp:Content
>
>
>Now.. problem begins.. I type inside something like "Hello World" - start page - nothing..
>
>Check "Source" for contentplaceholder - there nothing written between asp - tags..
>
>What do I wrong?
>
>Thanks
>Denis

If the ContentPlaceHolder is in the header, then you won't see anything in the body. Generally, as Paul indicated, you should have two ContentPlaceHolders. Can you show your full code?
Christopher Reed
"The oxen are slow, but the earth is patient."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform