Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

735 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