Solved

Need a usercontrol breadcrumb for master page.

Posted on 2009-07-11
2
321 Views
Last Modified: 2012-05-07
I need a user control in the master page.
that will tell the user what page he is in.
Is there something like this.

Home// Programming// Languages// .NET //ASP.NET// Ask a New Question
0
Comment
Question by:mathieu_cupryk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
jinal earned 500 total points
ID: 24833241
Hello ,

You can use SiteMap Control.

0
 

Author Comment

by:mathieu_cupryk
ID: 24833247
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Root.master.cs" Inherits="OmegaLove.Web.MasterPages.Root" %>

<!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>OmegaLove</title>
    <meta http-equiv="Content-Language" content="EN" />
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="description" content="100% Free online dating and matchmaking service for singles. Stop wasting your money on paid dating sites." />
    <meta name="KEYWORDS" content="free online dating, dating, matchmaking,online dating,dating service,personals,matchmaker,personal ads,service" />
    <meta name="CLASSIFICATION" content="Free Dating,dating, personals, free dating, dating,online dating, singles, matchmaking, love, relationships" />
   
    <link href="../App_Themes/OmegaLove/TabView/skin-sam.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/TabView/border_tabs.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/TabView/tabview-core.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/TabView/tabview.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/TabView/tabview-skin.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleTabView.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleHeader.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleFooter.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleImage.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleBase.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleButton.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/OmegaLove/StyleMaster.css" rel="stylesheet" type="text/css" />
</head>
<body class="pagebody">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div class="master-wrapper-page">
        <div class="master-wrapper-content">
            <div class="header">
                <div class="header-logo">
                    <a href="<%=Page.ResolveUrl("~/Default.aspx")%>" class="logo">&nbsp; </a>
                </div>
                <div class="header-login">
                    <OmegaLove:ctrlLogin ID="ctrlLogin" runat="server" />
                </div>
            </div>
            <div class="header-menu">
                <div id="header-menu-bar">
                    <OmegaLove:ctrlHeaderMenu ID="ctrlHeaderMenu" runat="server" />
                </div>
            </div>
           
            <asp:ContentPlaceHolder ID="cph1" runat="server">
            </asp:ContentPlaceHolder>
            <div class="clear">
            </div>
        </div>
   
            <OmegaLove:ctrlFooter ID="ctrlFooter" runat="server" />
 
    </div>

    </form>
</body>
</html>

How would I implement this?
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question