Solved

MasterPageMaster errors in web application.

Posted on 2013-01-09
1
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

635 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