|
i cant select master page as well as place code n seperate file textbox in vs 2008. it is apearing while making website bt donst display while creating web app
mahi_p
|
|
|
|
|
Your question is not clear. We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Please edit your question and provide better information.
|
|
|
|
|
In the page, you build it like a regular webpage with the header and footer, and in the middle, you place a content placeholder object, a container that will hold that space in the seperate file you created.
Master page
<%@ Master Language="VB" CodeFile="en-us_store.master.vb" Inherits="masterpages_store" %>
<!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 id="Head1" runat="server">
<title></title>
<link rel="shortcut icon" href="/favIcon.ico" />
</head>
<body>
<form id="form1" runat="server">
<div id="DefaultHeader_Wrapper_III">
<asp:ContentPlaceHolder ID="SiteMap" runat="server">
<!- This is a blank container - leave it emtpy -->
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
default.aspx - reference the container in the master page in your content page, and content below will be injected into the master page.
<asp:Content ID="Content3" ContentPlaceHolderID="SiteMap" runat="server">
<!-- Encode the Sitemap Content of the Page -->
<div class="sitemap_container">
Some content such as words or pictures in your seperate file
</div>
</asp:Content>
|
|
|
|