Connecting Tech Pros Worldwide Help | Site Map

Dynamic Menus

tma
Guest
 
Posts: n/a
#1: Nov 18 '05
How does one accomplish "dynamic" menus? For example, I have three items
(labels?) on top of each other down the left of my screen. I do not want
item 2 to show up in the list unless the user is logged in. In addition, I
only want the users to see items 1 & 3, making item 2 essentially invisible
and leaving no blank space. Is this possible?



Dale
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Dynamic Menus


Just set

label2.Visible=false;

Search MSDN for Positioning and Visibility and you can learn the client side
technologies for implementing dynamic elements or to make it really easy,
check out www.skmMenu.com.

Dale


"tma" <tma@allisconfusing.net> wrote in message
news:ujE9EEsaEHA.2908@TK2MSFTNGP10.phx.gbl...[color=blue]
> How does one accomplish "dynamic" menus? For example, I have three items
> (labels?) on top of each other down the left of my screen. I do not want
> item 2 to show up in the list unless the user is logged in. In addition, I
> only want the users to see items 1 & 3, making item 2 essentially[/color]
invisible[color=blue]
> and leaving no blank space. Is this possible?
>
>
>[/color]


Bobby Ryzhy
Guest
 
Posts: n/a
#3: Nov 18 '05

re: Dynamic Menus


HTML
<div id="_div" style="DISPLAY: none; VISIBILITY: hidden" runat="server">
<a href="xyz.htm">xyz</a>
</div>

C#
protected System.Web.UI.HtmlControls.HtmlGenericControl _div;
_div.Style["visibility"] = "visible";
_div.Style["display"] = "block";

Bobby Ryzhy
bobby@ domain below
http://weekendtech.net


On Thu, 15 Jul 2004 18:11:10 -0500, "tma" <tma@allisconfusing.net> wrote:
[color=blue]
>How does one accomplish "dynamic" menus? For example, I have three items
>(labels?) on top of each other down the left of my screen. I do not want
>item 2 to show up in the list unless the user is logged in. In addition, I
>only want the users to see items 1 & 3, making item 2 essentially invisible
>and leaving no blank space. Is this possible?
>
>[/color]

Bobby Ryzhy
bobby @ domain below
http://weekendtech.net
Closed Thread


Similar ASP.NET bytes