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.
Manas MohapatraRank #182 · 13.2K reputationPosted Aug 26, 2015, 8:28 PM EDT
Karthikeyan KRank #554 · 4.4K reputationPosted Aug 26, 2015, 8:39 PM EDT
<%@ 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:
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Aug 26, 2015, 9:16 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts