Hello,
I created a sitemap which i inserted into my aspx page.
however, i added below the page a sitemap path. but at runtime nothing shows up
What is wrong here
thanks
here is my code
<%@ Page Language="C#" MasterPageFile="~/User_Login.master" AutoEventWireup="true" CodeFile="delete.aspx.cs" Inherits="delete" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<p>
tesing</p>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
and master page
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="User_Login.master.cs" Inherits="User_Login" %>
<!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">
.style1
{
width: 100%;
}
.style2
{
width: 214px;
}
.style6
{
font-family: Verdana;
font-size: small;
}
a:link {
color: #3366CC;
text-decoration: none;
}
.style4
{
width: 263px;
height: 100px;
}
.style3
{
width: 753px;
text-align: center;
height: 100px;
}
.style21
{
font-family: Verdana;
}
.style5
{
height: 100px;
}
.style7
{
width: 753px;
text-align: center;
height: 13px;
font-family: Verdana;
font-size: small;
}
.style22
{
}
.style23
{
width: 275px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">
<table cellpadding="2" class="style1">
<tr>
<td>
<table class="style1" bgcolor="#FF6600">
<tr>
<td style="text-align: center; background-image: url('images/content_r2_c8.jpg');">
<table class="style1" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="style2"
style="background-image: url('images/content_r1_c4.jpg'); text-align: left;">
<asp:Image ID="Image2" runat="server" ImageUrl="~/images/content_r1_c1.jpg" />
</td>
<td style="background-image: url('images/content_r1_c4.jpg')" colspan="2">
<div align="right" class="style6" style="COLOR: #999999">
<asp:HyperLink ID="Home" runat="server" NavigateUrl="/">Home</asp:HyperLink>
|
<asp:HyperLink ID="PrivacyPolicy" runat="server" NavigateUrl="/?id=2">Privacy
Policy</asp:HyperLink>
|
<asp:HyperLink ID="TOS" runat="server" NavigateUrl="/?id=3">Terms & Conditions</asp:HyperLink>
|
<asp:HyperLink ID="Contact" runat="server" NavigateUrl="/?id=4">Contact
trial Bulk SMS Manager</asp:HyperLink>
</div>
</td>
</tr>
<tr>
<td class="style4"
style="text-align: left; background-image: url('images/content_r2_c8.jpg');"
valign="top" rowspan="2">
<asp:Image ID="logo" runat="server" ImageUrl="~/images/banner-tl.jpg" />
</td>
<td align="left" class="style3"
style="background-image: url('images/content_r2_c8.jpg'); text-align: right; font-size: small;">
<span class="style21">trial </span><br class="style21" />
<span class="style21">
<%#DateTime.Now.ToString() %></span></td>
<td class="style5"
style="text-align: right; background-image: url('images/content_r2_c8.jpg');"
valign="top" rowspan="2">
<asp:Image ID="Image1" runat="server" ImageUrl="~/images/banner-tr.jpg" />
</td>
</tr>
<tr>
<td align="left" class="style7"
style="background-image: url('images/content_r22_c8.jpg'); text-align: left;">
</td>
</tr>
<tr>
<td class="style6" colspan="3">
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1"
Orientation="Horizontal" StaticDisplayLevels="2" PathSeparator="|"
ScrollDownImageUrl="~/images/folder.gif"
style="font-size: small; font-weight: 700; color: #FFFFFF; background-color: #FFFFFF"
BorderColor="#FFFF99" BorderStyle="Solid" BorderWidth="1px"
DynamicHorizontalOffset="5" DynamicVerticalOffset="5" Height="5px">
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style22">
<asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
<table cellpadding="2" class="style1">
<tr>
<td class="style23">
<a href="login.aspx">login.aspx</a></td>
<td>
</td>
</tr>
<tr>
<td class="style23">
<asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server">
</asp:ContentPlaceHolder>
</td>
<td>
</td>
</tr>
<tr>
<td class="style23">
</td>
<td>
</td>
</tr>
</table>
</asp:ContentPlaceHolder>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td>
<asp:SiteMapPath ID="SiteMapPath1" runat="server"
style="font-family: Verdana; font-size: small">
</asp:SiteMapPath>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>