Tuesday, January 18, 2011

Content place holder

Content place holder is the part of the website that changes, then from there is defined by a content page. Here is some example code:


 <%-- ContentPlaceHolder control --%>  
 <asp:contentplaceholder id="FlowerText" runat="server"/>  
 <%-- ContentPlaceHolder with default content --%>  
 <asp:contentplaceholder id="FlowerText" runat="server">  
  <h3>Welcome to my florist website!</h3>  
 </asp:contentplaceholder>  

No comments:

Post a Comment