Solved

Why is my asp. net menu control not being recognized?

Posted on 2015-01-29
3
276 Views
Last Modified: 2015-01-29
I'm converting an old VB program (written in Dreamweaver) to C#, using VS 2010. Rather than opening up a new project, I opened up the old project in VS 2010, got it working and then decided to add my own C# files (site master etc.) to the program and go from there. I've hit an early hitch, as I was trying to figure out why my asp menu control wasn't styling as it should. After drilling down, using firebug (thank you firefox, such a great invention, but i digress...), I noticed that my HTML, was not rendering an asp menu [div] but rather a table. I'm using the same Site.Master code (HTML)  & style sheet but for some reason the code renders a table instead of the asp menu control [div], and is therefore using different styles [styling(s)]. How do I fix this? Do I need to start from scratch?

correct HTML
correctly rendered HTML

incorrect HTML
incorrectly rendered HTML
0
Comment
Question by:mikesExpertExchange
  • 2
3 Comments
 
LVL 79

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40578630
<table is definitely a table and not a div.  Since you have changed programming platform AND the language you should have started from scratch
0
 
LVL 1

Author Comment

by:mikesExpertExchange
ID: 40578658
That's kind of what I thought / what I needed to hear. In a related, theoretical / means of operation kind of question: If you had to maintain an app in an older language, that you weren't as comfortable / familiar with, (which is visual basic, for me), you would probably just start from scratch in a more familiar comfortable environment huh? Especially since you'd be maintaining it in the long run?
0
 
LVL 1

Author Closing Comment

by:mikesExpertExchange
ID: 40578659
Thanks for the input!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

778 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