Solved

MasterPageMaster errors in web application.

Posted on 2013-01-09
1
194 Views
Last Modified: 2013-01-14
Hi Everybody,

I am new to web application development and trying to learn.  I am getting some errors in my VB Coding on the MasterPageMaster.  I have attached the coding I am reviewing to find whats wrong.

I am getting blue squiggly lines on TopNavigation1.  The computer does not know what this name means.  It is showing TopNavigation1 not declared when I hover my mouse over it.  Where does the declaration go in the coding to corrrect this issue?  I also show an error on the TopNavigation1 control.

TopNavigation1 is causing a ton of errors to occur in my application.  When I debug the application, build is succeeding but the home page does not have all of the content it should have.

Any help is appreciated.
MasterPageMasterDesignCapture.PNG
MasterPageMasterCodingCapture.PNG
MasterPageMasterCoding2Capture.PNG
MasterPageMasterCoding3Capture.PNG
MasterPageMasterCoding4Capture.PNG
MasterPageMasterCoding5Capture.PNG
MasterPageMasterCoding6Capture.PNG
MasterPageMasterCoding7Capture.PNG
0
Comment
Question by:jjc9809
1 Comment
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
ID: 38760688
1: For TopNavigation, make sure your TopNavigation UserControl doesn't have any errors.
2: Also make sure you are adding right namespace import for your Util class.

Important one:
3: You have your VB code inside .aspx page but you still have ClassName and Inherits attribute included.

a) Either remove those attributes i.e. just have this <%@ Master Language="VB" %>
or
b) move your VB code from your .aspx page to the appropriate .aspx.vb page.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

948 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

23 Experts available now in Live!

Get 1:1 Help Now