Your Ad Here

Scripts' Documentation


Message Blog.NET

Message Application.NET

 

Message Blog.NET's Docs


How to add a child page

1. create new .aspx file, ex. 'about.aspx'

2. add following text in the page:

<%@ Page Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" %>

<asp:Content ID="_headerContent" ContentPlaceHolderID="_headerPlaceHolder" runat="server">

<title>TITLE_OF_YPUR_PAGE</title> <meta id="Meta1" name="description" content="SOME_DESCRIPTION_INFO" runat="server" />

<meta id="Meta2" name="keywords" content="KEYWORD_1, KEYWORD_2, ..., KEYWORD_N" runat="server" />

</asp:Content>

<asp:Content ID="_rightColumn" runat="server" ContentPlaceHolderID="_rightContentPlaceHolder">

</asp:Content>

<asp:Content ID="_mainContent" runat="server" ContentPlaceHolderID="_mainContentPlaceHolder">

YOUR_PAGE_INFO_HERE

</asp:Content>

*Note: The above example demonstrates page into the root folder, if you add your page in some subfolder, change only MasterPageFile' value MasterPageFile="~/YOUR_SUB_FOLDER/YOUR_SUB_SUB_FOLDER/main.master"