Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 627.7k

SiteMapPath

Mar 14 2011 3:21 AM
Aslam-o-Alaikum
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SiteMapPath ID="SiteMapPath1"  runat="server" Visible="true">
        </asp:SiteMapPath>
    </div>
    </form>
</body>
</html>



Web.Sitemap

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode url="~/Default2.aspx" title="page2"  description="This is second page decripations">
    <siteMapNode url="~/Default3.aspx" title="page3"  description="This is third page decripations" />
    <siteMapNode url="~/Default4.aspx" title="page4"  description="This is forth page decripations" />
  </siteMapNode>
</siteMap>



But when i am runing the default.aspx page it is not showing any thing why.....?
any one who can help me plz........?

























Answers (2)