Categories:
Android (1)
Audio (7)
C/C++ (2)
Compression (7)
Database (6)
Document (14)
Email (3)
General (50)
Graphics (17)
Image (8)
Java (1)
Picture (1)
Presentation (7)
Programming (17)
Spreadsheet (11)
Video (8)
Web (13)
Windows (63)
XML (4)
Other Resources:
.MASTER - File Extension for ASP.NET Master Pages
What is MASTER? MASTER, short name for ASP.NET Master, is used as the file extension for ASP.NET Master pages. .MASTER files are text files that are used to store ASP.NET master/template page source code. See the sample .MASTER file included below.
✍: FYIcenter.com
File Extension: .MASTER
MIME Type: text/plain
File Content: ASP.NET Master Page
.MASTER files are ASP.NET Master pages, that are used to store ASP.NET master/template page source code. Here is a sample .MASTER ASP.NET Master page, section.master:
<%@ Master Language="C#" MasterPageFile="~/Quickstart.master" %>
<script runat="server">
void Page_Init(object sender, EventArgs e) {
DropDownList ddl;
ddl = (DropDownList)Master.FindControl("LanguageSelect");
ddl.Items.Clear();
ddl.Items.Add(new ListItem("C#","C#"));
ddl.Items.Add(new ListItem("VB","VB"));
}
void Page_Load(object sender, EventArgs e)
{
//This changes the Label text for the Quickstart Info
//and also modifies the Page Title.
const string BANNER_TITLE = "ASP.NET Quickstart Tutorials";
Label lblBanner;
lblBanner = (Label)Master.FindControl("BannerTitle");
lblBanner.Text = BANNER_TITLE;
Master.Page.Title = "ASP.NET QuickStart Tutorials";
}
</script>
<asp:Content ID="Content1" ContentPlaceHolderID=Nav Runat=Server>
<asp:TreeView ID="TreeView1" Runat="server"
DataSourceID="SiteMapDataSource1" ShowExpandCollapse="False"
NodeIndent="10">
<LevelStyles>
<asp:TreeNodeStyle Font-Size="small" Font-Bold="True" />
<asp:TreeNodeStyle ImageUrl="~/Images/Bullet_Nav_Big.gif"
Font-Bold="True" />
<asp:TreeNodeStyle ImageUrl="~/Images/Bullet_Nav_Small.gif" />
</LevelStyles>
<SelectedNodeStyle Font-Underline="False" />
<NodeStyle ChildNodesPadding="7" Font-Size="1em"/>
</asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" StartingNodeOffset="3"
Runat="server" />
<br/>
<table>
<tr>
<td>
<asp:Image ImageUrl="~/Images/Arrow_Back.gif" runat="server"/>
</td>
<td>
<asp:HyperLink Text="Back to ASP.NET Home" Font-Bold="true"
Font-Size="1em" Font-UnderLine="false"
NavigateUrl="~/aspnet/default.aspx" runat="server"/>
</td>
</tr>
</table>
</asp:Content>
...
.MASTER ASP.NET Master page sample: Click sample.master to download.
Since .MASTER pages are in text format, you can use Notepad or any text editor to create or modify them. No special software is needed.
For for information on how to use .MASTER ASP.NET Master pages, see links below:
2020-02-04, 9926👍, 1💬
Popular Posts:
What is CS? CS, short name for C Sharp, is used as the file extension for C# (C Sharp) files. .CS fi...
What is WMF or EMF? WMF stands for Windows Metafile. EMF stands for Enhanced Windows Metafile WMF or...
File extension EXE is used for executable files ready to be executed on computer systems. An EXE sam...
File extension MPG is used for audio and video files in a MPEG formats. An MPEG sample file is provi...
File extension MPG is used for audio and video files in a MPEG formats. An MPEG sample file is provi...