Re: VB.Net Horisontal Menu

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 12/06/04


Date: Mon, 6 Dec 2004 17:59:44 +0100

Gleeman,

There is no "menu" control of a Webpage. Going the way from a DHTML
javascript menu is not impossible, however needs a lot of knowledge from
javascript, VBNet and servercontrols (viewstate).

In your situation I would just create three serverside buttons beside each
other.

This is nothing strange because a button is in fact often used in webpages
to emulate menu's (that as well with javascript).

You have as well nice serverside "imagebuttons" for webpages when you want
that.

I hope this helps?

Cor

"Gleeman" <Gleeman@discussions.microsoft.com>

> Dear Sir/Madam
>
> I'm an old dog of VB 6.0. I've mastered the new tricks of .Net Form-based
> programming rather OK. I now need to focus on web development.
>
> My Web pages need not be as glamerous as those seen on most sites, since
> even my web development is for operational purposes (Business). I devised
> a
> standard layout with the main menu at left and horisontal menus per
> subystem
> to navigate to the forms of each subsystem. Each of these horisontal
> sub-menus needs be a WebUserControl that I'll drag onto each form of that
> subsystem. Thus a new form in the subsystem will only cause a change in
> one
> control and the addition of the new form. The sub-menus needs only to be
> simple navigational structures. Like hyperlinks, that displays the form
> associated with that choice.
>
> I've worked a walk through called: Creating a Web User Control. This walk
> through does exactly what I want, but not the way I want to do it. It
> returns
> the index of the selection. This index needs be interpreted by the calling
> form and then the calling form can re-direct to the form of choice. This
> defies my plan of change once affect many.
>
> I have heard about J-script methods, DHTML menus etc. Can you please point
> me in a direction on how to create a menu that will do the following:
>
> Menu:
> Member|Branch|Person
>
> Show:
> wfmMemMem.aspx|wfmMemBrn.aspx|wfmMemPsn.aspx
>
> Much Thanks
> Cornelius
> South Africa


Quantcast