Solved

MasterPageMaster errors in web application.

Posted on 2013-01-09
1
197 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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.

777 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