Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2006

Tip: Looking for answers? Try searching our database.

Example for Using the new 2.0 Menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom - 21 Jun 2006 16:28 GMT
I am looking for an example of how to build a menu from code hind.  
I need to be able to use images for the top navigation and set the
orientation horizontal.

Does anyone have an example I can use to get started?

Thanks

Tom
Mark Rae - 21 Jun 2006 16:41 GMT
> Does anyone have an example I can use to get started?

1) Launch your Internet browser (e.g. IE, FireFox, Netcape, Opera etc)

2) Navigate to http://www.google.com

3) Enter the text below in the box:

   "<asp:Menu" example

4) Hit the button
Demetri - 21 Jun 2006 17:48 GMT
Here is a site with examples of populating a Menu from various data sources.

http://www.codeproject.com/cs/menu/PopulatingMenuControlASP2.asp

Signature

-Demetri

> I am looking for an example of how to build a menu from code hind.  
> I need to be able to use images for the top navigation and set the
[quoted text clipped - 5 lines]
>
> Tom
Mark Rae - 21 Jun 2006 19:09 GMT
> Here is a site with examples of populating a Menu from various data
> sources.
>
> http://www.codeproject.com/cs/menu/PopulatingMenuControlASP2.asp

Thanks for this, but I know how to populate the <asp:Menu control...

I was actually interested in getting an idea of how people rate it against
other (3rd-party) solutions which they'd used prior to v2 (when there wasn't
a built-in <asp:Menu> control, and how they were using it.

Still am, in fact... :-)

How are you using this control? Do you prefer it to whatever you used to
use?
Demetri - 21 Jun 2006 19:25 GMT
I am confused, are you Tom? I did answer the question he asked I believe.

But, to answer yours, I am a strong proponent of Microsoft products. The
reason being is that I'd much rather have something constructed by the source
than a 3rd party. My basis for that is, go take a look at the controls
themselves using Reflector, they are EXTREMELY well constructed with
extensibility in mind.

In addition, third party components (most of them at least) are not as
simple as drag and drop. Rather, they require you to copy scripts, manually
make references to stylesheets and scripts. Microsoft understand that most
people don't want to be bothered with all of that but like the ease of drag
and drop and get to more important things.

Anyway, that's my 30 second 2 cents worth.
Signature

-Demetri

> > Here is a site with examples of populating a Menu from various data
> > sources.
[quoted text clipped - 11 lines]
> How are you using this control? Do you prefer it to whatever you used to
> use?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.