hi friends
i have one problem in master page
that is
i have two applications those are login page and registration page
my question is how to add these two files into master page?
kindly explain in detail
i have seen in msdn,asp.net sites but i dont understand much and clearly
so please explain step by step
Loading

Suthish NairPosted Apr 26, 2011, 10:05 AM
Ankit NandekarPosted Apr 26, 2011, 3:07 AM
example
<%@ Page Language="C#" MasterPageFile="~/MasterPage/MainMasterpage.master" AutoEventWireup="true" CodeFile="SignUp.aspx.cs" Inherits="SignUp" Title="Untitled Page" %>
you can see this tag into upper side of ur page source code here
MasterPageFile="~/MasterPage/MainMasterpage.master" is the path of the masterpage which u want to apply .
just add this attribute in ur page derective and take to controls
here u will paste aal contents which is in ur application or logins forms body tag.
Note: Remove header tag and body tag from ur Form bcoz it is already in masterpage otherwise it will give u error.
Madhu KPosted Apr 26, 2011, 2:54 AM
http://www.w3schools.com/aspnet/aspnet_masterpages.asp
master pages in asp.net
bhanu prasannakumarPosted Apr 26, 2011, 2:37 AM
Madhu KPosted Apr 26, 2011, 2:35 AM
I think you want to include master page in registration and login page. Can you be bit more clear.