Dobrý den, mám MasterPage viz. kod a chtěl bych do ID="ContentPlaceHolder1" vložit aspx stránku ve které budu mít vytvořené menu (něco jak include v ASP). Je tohle možné?
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<style type="text/css">
.StyleContentPlaceHolder1
{
width: 180px;
background-color: #FEFDD8;
text-align:left;
}
.StyleContentPlaceHolder2
{
text-align:left;
}
</style>
</head>
<body>
<form id="form1" runat="server" style="text-align:center;">
<table style="width: 1000px;">
<tr>
<td class="StyleContentPlaceHolder1" lang="cs" valign="top">
<asp:contentplaceholder ID="ContentPlaceHolder1" runat="server">
<!@-- Zde bych chtěl provés vložení stránky Menu.aspx -->
</asp:contentplaceholder>
</td>
<td class="StyleContentPlaceHolder2">
<asp:contentplaceholder ID="Contentplaceholder2" runat="server"></asp:contentplaceholder>
</td>
</tr>
</table>
</form>
</body>
</html>
|