Solved

Need a usercontrol breadcrumb for master page.

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

17 Experts available now in Live!

Get 1:1 Help Now