Solved

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

Posted on 2015-01-29
3
267 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 78

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

14 Experts available now in Live!

Get 1:1 Help Now