hello sir i try to creates master page & content page but i was fail to create pls send me any one master page & content page with asp controls in that as well as c# code with images
thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Aug 27, 2015, 1:16 AM
Karthikeyan KPosted Aug 27, 2015, 12:39 AM
<%@ Page Language="C#" MasterPageFile="Site1.Master"%>
.divMainTime
{
width:450px;
height:30px;
background-color:#00CCFF;
font-size:14px;
}
Child page content
Site1.Master
<%@ Master Language="C#"%>
public void Page_Load(Object sender, EventArgs e)
{
//Print the time when the page loaded initially
Response.Write("The Page Loaded at: " + DateTime.Now.ToLongTimeString());
}
.button
{
border-radius:4px 4px 4px 4px;
height:30px;
padding:5px;
font-size:14px;
background-color:#6ca21e;
color:#FFFFFF
}
#divServerTime
{
width:100px;
height:30px;
font-weight:bold;
float:left;
font-size:20px;
margin-left:10px;
}
body
{
background-color:#32373a;
color:#33FF99;
}
#mainBody
{
background-color:#33FF99;
height:800px;
color:#32373a;
}
Welcome to Csharpcorner
Master Page Content.
Output:
Manas MohapatraPosted Aug 27, 2015, 12:28 AM