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, 10778👍, 1💬
Popular Posts:
What is VSD? VSD, short name for Visio Drawing, is used as the file extension for Visio Drawing file...
What is XPS or OXPS? XPS stands for for XML Paper Specification. OXPS stands for for Open XML Paper ...
What is MDB? MDB, short name for Microsoft Database, is used as the file extension for Microsoft Acc...
File extension DAT is used for multimedia files stored on VCD disks. A DAT sample file is provided. ...
What is ASPX? ASPX, short name for ASP.NET Script, is used as the file extension for ASP.NET Script ...