Riddhi Valecha

Riddhi Valecha

  • 441
  • 3.3k
  • 413.1k

Master page issue

Apr 1 2015 6:12 AM
Hi all,,
My Master Page is -
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="FORMS.master.cs"
    Inherits="SYSTEM.RFORMS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!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 id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <title>Management System</title>
    <script src="App_Themes/JS/modernizr-2.6.2.min.js" type="text/javascript"></script>   
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>   
</head>
<body>

<form id="form1" runat="server">
    <div class="wrapper">
 <nav class="nav">
<ul class="nav-list">
        <li class="nav-item" id="usermaster" runat="server">
            <a class="no_border" href="USERMASTER.aspx">User Master</a>
        </li>
       
        <li class="nav-item" id="companymaster" runat="server">
            <a class="no_border" href="COMPANYMASTER.aspx">Company Master</a>
        </li>
      
        <li class="nav-item" id="entry" runat="server">
            <a class="no_border" href="EntryPage.aspx">Entries</a>
        </li>
     </ul>
</nav>
 <div class="insidecontentarea">
            <asp:ContentPlaceHolder ID="Controlscontent" runat="server">
            </asp:ContentPlaceHolder>
        </div>
</div>
 </form>
  
</body>
</html>
------------
HOME PAGE -
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HOMEPAGE.aspx.cs" Inherits="SYSTEM.HOMEPAGE" MasterPageFile="~/FORMS.Master" %>

<asp:Content ContentPlaceHolderID="head" ID="content_head" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="Controlscontent" ID="content_controls" runat="server">



</asp:Content>
--------
The <nav> tag is the menu.
Now, When I click on "User Master", then the menu is not reflecting on "User Master" Page.

PLease guide where am I going wrong.

Answers (1)