Click here to Skip to main content
15,888,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionExplain the exceptions in ASP.Net webforms Pin
Member 106459705-Mar-14 6:52
Member 106459705-Mar-14 6:52 
AnswerRe: Explain the exceptions in ASP.Net webforms Pin
Snehasish_Nandy5-Mar-14 19:05
professionalSnehasish_Nandy5-Mar-14 19:05 
QuestionRe: Explain the exceptions in ASP.Net webforms Pin
ZurdoDev7-Mar-14 7:50
professionalZurdoDev7-Mar-14 7:50 
Questionasp.net application for internal company telephone extension Pin
omerqq5-Mar-14 4:50
omerqq5-Mar-14 4:50 
AnswerRe: asp.net application for internal company telephone extension Pin
Snehasish_Nandy5-Mar-14 18:51
professionalSnehasish_Nandy5-Mar-14 18:51 
Questionasp.net Pin
Asitsingh5-Mar-14 0:06
Asitsingh5-Mar-14 0:06 
SuggestionRe: asp.net Pin
Richard Deeming5-Mar-14 0:35
mveRichard Deeming5-Mar-14 0:35 
QuestionHow to use Sitemappath control to add breadcrumbs in Master Page of a website? Pin
AshOmi4-Mar-14 20:23
professionalAshOmi4-Mar-14 20:23 
I am trying to add breadcrumbs on my web pages for easy navigation. For this I am using SiteMapPath Control of Asp.Net and along with this I have also made a breadcrumb.Sitemap file which list all the pages. But While implementing the sitemappath in my master page, I am getting a generic error. I am not able to understand why is this happening?
This is the basic structure of my aspx page-

ASP.NET
<div id="menu-pt">
<div class="hm"><a href="Page1.aspx" class="active">Home</a></div>
<div id="nav">
<ul id="nav" name="nav">
            	<li><a href="Page2.aspx">Page2</a></li>
                <div class="saparation"></div>
                <li><a href="Page3.aspx">Page3</a></li>
                <div class="saparation"></div>
             <li> <a href="Page4.aspx">Page4</a></li>
			<div class="saparation"></div>
            <li><a href="#">Pages</a>
            <div id ="Ul2" runat="server">
                <ul id="sub-nav" >
                <li><a href="Page5.aspx">Page5</a></li>
         		<li><a href="Page6.aspx">Page6</a></li>
          		<li><a href="Page7.aspx">Page7</a></li>
          		<li><a href="Page8.aspx">Page8</a></li>
            </ul>
            </div>
             <div id ="Ul1" runat="server">
             <ul id="sub-nav" >
             
                <li><a href="Page9.aspx">Page9</a></li>
         		<li><a href="Page10.aspx">Page10</a></li>
         		<li><a href="Page11.aspx">Page11</a></li>
          		<li><a href="Page12.aspx">Page12</a></li>
          		<li><a href="Page13.aspx">Page13</a></li>
            </ul>
            </div>
                </li>          
		   </ul>
</div>
</div>

<li>Page5,6,7,8.aspx pages is for all users. And <li>Page9,10,11,12,13.aspx pages are for logged in user.
And My breadcrumb.sitemap file is-

XML
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode url="Page1.aspx" title="Home"  description="Page1">
        <siteMapNode url="Page2.aspx" title="Page2"  description="Page2" />
        <siteMapNode url="Page3.aspx" title="Page3"  description="Page3" />
      <siteMapNode url="Page4.aspx" title="Page4"  description="Page4" />
      <siteMapNode url="" title="Pages"  description="">
        <siteMapNode url="Page5.aspx" title="Page5"  description="Page5" />
        <siteMapNode url="Page6.aspx" title="Page6"  description="Page6" />
        <siteMapNode url="Page7.aspx" title="Page7"  description="Page7" />
        <siteMapNode url="Page8.aspx" title="Page8"  description="Page8" />
        <siteMapNode url="Page9.aspx" title="Page9"  description="Page9" />
        <siteMapNode url="Page10.aspx" title="Page10"  description="Page10" />
        <siteMapNode url="Page11.aspx" title="Page11"  description="Page11" />
        <siteMapNode url="Page12.aspx" title="Page12"  description="Page12" />
        <siteMapNode url="Page13.aspx" title="Page13"  description="Page13" />
      </siteMapNode>
    </siteMapNode>
</siteMap>

Also I have placed a sitemappath control on my aspx page-
<asp:SiteMapPath ID="SiteMapPath1" runat="server"></asp:SiteMapPath>

Please guide me where I am doing wrong. I read few articles and it says that this much of step is enough for adding breadcrumbs on every pages of a web site.
Please Guide me where I am doing Wrong?

AshOmi

AnswerRe: How to use Sitemappath control to add breadcrumbs in Master Page of a website? Pin
Kornfeld Eliyahu Peter4-Mar-14 22:33
professionalKornfeld Eliyahu Peter4-Mar-14 22:33 
GeneralRe: How to use Sitemappath control to add breadcrumbs in Master Page of a website? Pin
AshOmi4-Mar-14 23:14
professionalAshOmi4-Mar-14 23:14 
QuestionHow to get control inside Datagrid ? Pin
ngoloi4-Mar-14 4:03
ngoloi4-Mar-14 4:03 
AnswerRe: How to get control inside Datagrid ? Pin
Richard Deeming4-Mar-14 5:15
mveRichard Deeming4-Mar-14 5:15 
GeneralRe: How to get control inside Datagrid ? Pin
ngoloi4-Mar-14 17:46
ngoloi4-Mar-14 17:46 
AnswerRe: How to get control inside Datagrid ? Pin
Jαved10-Mar-14 22:39
professionalJαved10-Mar-14 22:39 
QuestionMenu focus Pin
Member 106415403-Mar-14 22:50
Member 106415403-Mar-14 22:50 
QuestionDropdown control doesn't always populate Pin
#realJSOP3-Mar-14 4:31
mve#realJSOP3-Mar-14 4:31 
AnswerRe: Dropdown control doesn't always populate Pin
jkirkerx3-Mar-14 11:28
professionaljkirkerx3-Mar-14 11:28 
GeneralRe: Dropdown control doesn't always populate Pin
#realJSOP4-Mar-14 3:45
mve#realJSOP4-Mar-14 3:45 
GeneralRe: Dropdown control doesn't always populate Pin
jkirkerx4-Mar-14 6:14
professionaljkirkerx4-Mar-14 6:14 
AnswerRe: Dropdown control doesn't always populate Pin
Bernhard Hiller4-Mar-14 2:28
Bernhard Hiller4-Mar-14 2:28 
GeneralRe: Dropdown control doesn't always populate Pin
#realJSOP4-Mar-14 3:43
mve#realJSOP4-Mar-14 3:43 
GeneralRe: Dropdown control doesn't always populate Pin
Bernhard Hiller4-Mar-14 22:11
Bernhard Hiller4-Mar-14 22:11 
QuestionASP.net - Webforms - Dynamic controls Pin
tinaclement2-Mar-14 20:56
tinaclement2-Mar-14 20:56 
AnswerRe: ASP.net - Webforms - Dynamic controls Pin
Richard MacCutchan2-Mar-14 22:58
mveRichard MacCutchan2-Mar-14 22:58 
QuestionWindow.open Pin
Zeyad Jalil1-Mar-14 20:15
professionalZeyad Jalil1-Mar-14 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.