Solved

Need a usercontrol breadcrumb for master page.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

912 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

16 Experts available now in Live!

Get 1:1 Help Now