Home All Groups Group Topic Archive Search About
Author
20 Oct 2006 11:45 PM
David Thielen
Hi;

A couple of menu questions:

1) I would like to have a menu that is horizontal with graphic tabs for
background images. How do I set this?

2) For some of the main menu items, I want to have 2 or 3 sub menus. I would
prefer that they appear horizontially. How do I set this?

3) When a main menu item has sub menu items, I would prefer that the main
menu item not be clickable. Can this be done and if so how?

4) When I have a page that is one of the sub menu items displayed, I would
like all of the submenu items permanently displayed under the main menu so I
can easily switch from one submenu to the next. How can I do this?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Author
23 Oct 2006 7:08 AM
Steven Cheng[MSFT]
Hello Dave,

As for the questions on the ASP.NET menu control, here are my understanding
on them:

1) I would like to have a menu that is horizontal with graphic tabs for
background images. How do I set this?
=============================
If what you want is display image for menu item you can use the "ImageUrl"
property of menu item. There are also other image properties(such as
separator image on menu item):

>>>>>>>>>>>>>>>>>>>
<asp:Menu ID="Menu1" runat="server" Orientation="horizontal">
            <Items>
                <asp:MenuItem Text="New Item1" Value="New Item1"
ImageUrl="http://msdn2.microsoft.com/msdn/Controls/MTPS_BannerCtrl/en-us/msd
n.jpg">
                  ..............
<<<<<<<<<<<<<<<<<<<


2) For some of the main menu items, I want to have 2 or 3 sub menus. I
would
prefer that they appear horizontially. How do I set this?
=============================
I'm not sure about the exact layout you want, however, based on my
understanding, the ASP.NET Menu control only support a simple orientation
setting, it can either display menu items a horizontal menu(main menu items
listed horizontally) or display a vertical menu(main menu items listed
vertically).


3) When a main menu item has sub menu items, I would prefer that the main
menu item not be clickable. Can this be done and if so how?
=============================
As for the "not Clickable", do you mean it can not be selected or it can
not be used to redirecct user to other hyperlink?  If you do not specify
"NavigateUrl" for menu item, it won't work like hyperlink. However, if you
want further customization, you can consider configure the
<StaticItemTemplate> or <DynamicItemTemplate> to define your own menu item
UI layout.


4) When I have a page that is one of the sub menu items displayed, I would
like all of the submenu items permanently displayed under the main menu so
I
can easily switch from one submenu to the next. How can I do this?
=============================
I'm afraid this is not supported in the current ASP.NET menu control. All
the sub menu items will only display when we hover onto parent menu items
and it will disappear after the mouse leave the menu items.

Though the menu control has provided many style and template customization,
it is still quite limited since the well encapsulation. Anyway, please feel
free to let me know if there is anything else you wonder.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
Author
23 Oct 2006 4:03 PM
David Thielen
THank you - this lets me know how to go from here.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




Show quoteHide quote
"Steven Cheng[MSFT]" wrote:

> Hello Dave,
>
> As for the questions on the ASP.NET menu control, here are my understanding
> on them:
>
> 1) I would like to have a menu that is horizontal with graphic tabs for
> background images. How do I set this?
> =============================
> If what you want is display image for menu item you can use the "ImageUrl"
> property of menu item. There are also other image properties(such as
> separator image on menu item):
>
> >>>>>>>>>>>>>>>>>>>
> <asp:Menu ID="Menu1" runat="server" Orientation="horizontal">
>             <Items>
>                 <asp:MenuItem Text="New Item1" Value="New Item1"
> ImageUrl="http://msdn2.microsoft.com/msdn/Controls/MTPS_BannerCtrl/en-us/msd
> n.jpg">
>                   ..............
> <<<<<<<<<<<<<<<<<<<
>
>
> 2) For some of the main menu items, I want to have 2 or 3 sub menus. I
> would
> prefer that they appear horizontially. How do I set this?
> =============================
> I'm not sure about the exact layout you want, however, based on my
> understanding, the ASP.NET Menu control only support a simple orientation
> setting, it can either display menu items a horizontal menu(main menu items
> listed horizontally) or display a vertical menu(main menu items listed
> vertically).
>
>
> 3) When a main menu item has sub menu items, I would prefer that the main
> menu item not be clickable. Can this be done and if so how?
> =============================
> As for the "not Clickable", do you mean it can not be selected or it can
> not be used to redirecct user to other hyperlink?  If you do not specify
> "NavigateUrl" for menu item, it won't work like hyperlink. However, if you
> want further customization, you can consider configure the
> <StaticItemTemplate> or <DynamicItemTemplate> to define your own menu item
> UI layout.
>
>
> 4) When I have a page that is one of the sub menu items displayed, I would
> like all of the submenu items permanently displayed under the main menu so
> I
> can easily switch from one submenu to the next. How can I do this?
> =============================
> I'm afraid this is not supported in the current ASP.NET menu control. All
> the sub menu items will only display when we hover onto parent menu items
> and it will disappear after the mouse leave the menu items.
>
> Though the menu control has provided many style and template customization,
> it is still quite limited since the well encapsulation. Anyway, please feel
> free to let me know if there is anything else you wonder.
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>

>
> ==================================================
>
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
>

>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
> http://msdn.microsoft.com/subscriptions/support/default.aspx.
>
> ==================================================
>

>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>
>
>
>
>
>
Author
24 Oct 2006 1:28 AM
Steven Cheng[MSFT]
You're welcome.

If you meet any further problem, please feel free to followup.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
Author
8 Nov 2006 6:14 AM
Kiran More - India
Test