Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MasterPageMaster errors in web application.

Posted on 2013-01-09
1
Medium Priority
?
215 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

886 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