re:
!> CSS Menu Generator does not work with ASP.NET Menu Control
We know it doesn't, Alexei.
It's just a tool so the OP, and anybody else, can study the CSS created by it.
IIRC, his main problem was CSS syntax.
By running the CSS generator, he'll create valid CSS which he can then apply to his menu control.
re:
!> you need to know what css class you have to use
That's one of the menu generator's greatest advantages.
It allows you to visually design your color scheme...and creates the CSS needed to repro the scheme.
You can name the generated class anything you'd like, of course, and the syntax will be perfect.
Works for me.
re:
!> Once you would need a data driven menu you would consider to use that control I believe.
Maybe yes, maybe no. I've done both.
For me, it depends on how often the links change.
Here's a pure CSS menu I created (the green bar just below the golf course's Flash photo montage:
http://www.playadoradagolf.com/
The links are almost permanently static, so it works fine.
Also, I'm changing the site from HTML/PHP to ASP.NET
and wasn't quite ready to implement a major change.
What I'd like to do is go one better...and write a user control which incorporates a menu.
When all the pages are changed to ASP.NET, I'd like to be
able to simply drop the menu user control into any page.
Any hints/links on how to do that ?
Otoh, here's a data-driven ASP.NET menu control which uses an XML file as its data source :
http://asp.net.do/faq/
This one is very easy to maintain. Editing the XML with any XML editor is a snap.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
CSS Menu Generator does not work with ASP.NET Menu Control. If you are
using a control, you need to know what css class you have to use, etc,
and that's not a pure CSS question. I agree, it can make your life
easier then items are static. Once you would need a data driven menu
you would consider to use that control I believe.