Solved

MasterPageMaster errors in web application.

Posted on 2013-01-09
1
193 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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
#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 +…

763 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

15 Experts available now in Live!

Get 1:1 Help Now