?
Solved

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

Posted on 2015-01-29
3
Medium Priority
?
358 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:Michael Sterling
[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
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 2000 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:Michael Sterling
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:Michael Sterling
ID: 40578659
Thanks for the input!
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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 this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

800 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