Solved

Need a usercontrol breadcrumb for master page.

Posted on 2009-07-11
2
317 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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …

685 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