Solved

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

Posted on 2015-01-29
3
283 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 80

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

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 article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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