Solved

Need a usercontrol breadcrumb for master page.

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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 …
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 …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now