ASP.NET Master Page Concept in a nutshell !!

Opening existing Project for previous website :
File->Open->Website
(Opening the whole directory created from an empty website)

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage2.master.cs" Inherits="MasterPage2" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title></title>
//head er asp er upore ei jaygay ja diben setai call hobe
    <asp:ContentPlaceHolder id="headPart" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server">
    <div>

//ekhane ja diben jevabe setai content page e giye call hobe

        <asp:ContentPlaceHolder id="ContentPlaceHolderFooter" runat="server">
        
        </asp:ContentPlaceHolder>
    </div>
    </form>
<asp:ContentPlaceHolder ID="ContentPlaceHolderMiddle" runat="server"></asp:ContentPlaceHolder>
    <p>
        ei jinishtake middle e nite
    </p>


</body>
</html>

 

 

It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *