SóProvas


ID
836524
Banca
CESPE / CEBRASPE
Órgão
ANAC
Ano
2012
Provas
Disciplina
Programação
Assuntos

Julgue os próximos itens, referentes às linguagens ASP e .Net.

Uma página Master Page na linguagem .NET possui a diretiva @MASTER.

Alternativas
Comentários
  • Master Pages

    A master page is an ASP.NET file with the extension .master (for example, MySite.master) with a predefined layout that can include static text, HTML elements, and server controls. The master page is identified by a special @ Master directive that replaces the @ Page directive that is used for ordinary .aspx pages. The directive looks like the following.

    Fonte:http://msdn.microsoft.com/en-us/library/wtxbf3hh%28v=vs.100%29.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2

  • Exemplo:

    "<%@ Master Language="VB" CodeFile="MasterPage.master.vb" AutoEventWireup="false" Inherits="MasterPage_master" %>"