CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Apr 2008
    Posts
    4

    'this.menu' is null or an object

    Hello every I am receiving the above error the page is running but it does not show the stylesheet
    here is my code:

    <%@ Master Language="VB" CodeFile="login.master.vb" Inherits="Admin_login" %>
    <%@ Register Src="Admin/Controls/MainSiteMenu.ascx" TagName="MainSiteMenu" TagPrefix="uc1" %>

    <?xml version="1.0" encoding="UTF-8"?>
    <!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">

    <title>SMART</title>
    <link rel="stylesheet" type="text/css" href="Admin/Design/spurintranet.css" />
    <link rel="stylesheet" type="text/css" href="Admin/Design/Menu.css" />
    <!--#include virtual="Admin/Controls/MainSiteMenu.js" -->

    <script type="text/javascript">
    var myMenu;

    window.onload = function()
    {
    myMenu = new SDMenu("my_menu");
    myMenu.init();
    };
    </script>

    </head>
    <body>
    <form id="frmMain" runat="server">
    <div id="header"><img runat="server" src="Admin/Design/SiteImages/CIPLogoAdmin.gif" alt="" id="SpurLogo" /></div>
    <div id="MainContentPanel">
    <h1 class="SectionNameH1">
    <asp:SiteMapPath ID="SiteMapPath1" runat="server">
    </asp:SiteMapPath></h1>

    <div id="MainContent">
    <asp:contentplaceholder id="ctnBody" runat="server">
    </asp:contentplaceholder>
    </div>
    </div>

    <div id="Footer"></div>

    </form>
    </body>
    </html>
    Last edited by msandlana; April 22nd, 2008 at 01:54 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured