My pleasure
Best wish to you also!
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "James Trefry" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
<#w#
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
<
[email protected]>
| Subject: Re: ASP.NET 2.0 Menu Control - DynamicEnableDefaultPopOutImage
Property
| Date: Tue, 13 Dec 2005 00:29:43 -0700
| Lines: 309
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| Message-ID: <e$#
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| NNTP-Posting-Host: 71-208-238-248.hlrn.qwest.net 71.208.238.248
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:31733
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| Ah yes, now I remember - with templates I can do anything. I have been
| schooled.
Thanks for the clean and simple solution. I will move
forward
| using a template then.
|
| Thanks for staying with me on this one.
|
| Happy Holidays!
|
| James Trefry
|
|
|
| | > Thanks for your quick response James.
| >
| > Well, I've looked at the site you refered. Now I got what you exactly
| > want, seems this is nothing relate to the ImagePopout setting of the
| > ASP.NET menu control since the Menu control will always displaying the
| > popout image as long as the menu item is displayed, while that site's
menu
| > will display the popout image only when the mouse hover onto it, right?
| >
| > As for workaround, I've thought over it, so far what I can get is using
| > the
| > "staticItemTemplate" to define a custom menu template, then, we manually
| > put the <img ...> html element in it and use some clientside script to
| > show
| > the image when mouse over the menu item... and hide it when mouse
| > leave....
| > This is a possible approach though maybe a bit complex....
| >
| > <StaticItemTemplate>
| > <div onmouseover=" " onmouseout="">
| > <%# Eval("Text") %>
| > <img src="Images/menu_pop_static.GIF" />
| > </div>
| > </StaticItemTemplate>
| >
| >
| > Also, I think that site
http://www.azburncenter.com/ must have used a
own
| > custom naviagation control ;-)
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure!
www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | From: "James Trefry" <
[email protected]>
| > | References: <
[email protected]>
| > <
[email protected]>
| > <#w#
[email protected]>
| > <
[email protected]>
| > <
[email protected]>
| > <
[email protected]>
| > | Subject: Re: ASP.NET 2.0 Menu Control -
DynamicEnableDefaultPopOutImage
| > Property
| > | Date: Mon, 12 Dec 2005 21:21:58 -0700
| > | Lines: 200
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | Message-ID: <
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| > | NNTP-Posting-Host: 71-208-238-248.hlrn.qwest.net 71.208.238.248
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet.webcontrols:31730
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| > |
| > | Steven,
| > |
| > | Unfortunately, that is not the behavior that I need to replicate. I
| > | actually need the image on the first level to be dynamic as it
currently
| > | works at
http://www.azburncenter.com. I realize that this behavior is
| > | unusual, but if you know of a work around (overrides, etc.), I would
be
| > very
| > | receptive.
| > |
| > | Thanks for your help.
| > |
| > | James Trefry
| > |
| > |
| > | | > | > Thanks for your response James,
| > | >
| > | > Yes, if the StaticDisplayLevels is 1, the first level menu items
are
| > not
| > | > affected by the DynamicEnableDefaultPopOutImage property since
they're
| > | > static menu items. However, we can use the
| > StaticEnableDefaultPopOutImage
| > | > for them, does this work in your scenario?
| > | >
| > | > Regards,
| > | >
| > | > Steven Cheng
| > | > Microsoft Online Support
| > | >
| > | > Get Secure!
www.microsoft.com/security
| > | > (This posting is provided "AS IS", with no warranties, and confers
no
| > | > rights.)
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > --------------------
| > | > | From: "James Trefry" <
[email protected]>
| > | > | References: <
[email protected]>
| > | > <
[email protected]>
| > | > <#w#
[email protected]>
| > | > <
[email protected]>
| > | > | Subject: Re: ASP.NET 2.0 Menu Control -
| > DynamicEnableDefaultPopOutImage
| > | > Property
| > | > | Date: Mon, 12 Dec 2005 09:57:24 -0700
| > | > | Lines: 119
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | > | X-RFC2646: Format=Flowed; Original
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | > | Message-ID: <
[email protected]>
| > | > | Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| > | > | NNTP-Posting-Host: 71-208-238-248.hlrn.qwest.net 71.208.238.248
| > | > | Path:
| > TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > microsoft.public.dotnet.framework.aspnet.webcontrols:31703
| > | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
| > | > |
| > | > | Steven,
| > | > |
| > | > | First, thank you for responding.
| > | > |
| > | > | What I need to do is display the pop out image dynamically along
| > with
| > | > the
| > | > | sub menus like this site:
http://www.azburncenter.com.
| > | > |
| > | > | So if the minimum value for StaticDisplayLevels is 1 (which makes
| > sense
| > | > | since we need to start with at least 1 level of visible menus),
then
| > the
| > | > | first level of menus being static will always ignore the
| > | > | DynamicEnableDefaultPopOutImage property. This concludes that it
is
| > not
| > | > | possible to set a dynamic pop out image on the first level of
menus.
| > | > | Therefore I cannot reproduce the menu above using the ASP.NET 2.0
| > menu
| > | > | control. Is that correct?
| > | > |
| > | > | Thanks again.
| > | > |
| > | > | James Trefry
| > | > |
| > | > |
message
| > | > | | > | > | > Hi James,
| > | > | >
| > | > | > As for the Menu control's PopoutImage setting, it does be as the
| > | > document
| > | > | > mentioned that
| > | > | >
| > | > | > "StaticEnableDefaultPopOutImage" and "StaticPopoutImageUrl"
| > determine
| > | > the
| > | > | > Popup image for static menu items while the
| > | > | > "DynamicEnableDefaultPopOutImage" and "DynamicPopoutImageUrl"
| > | > determine
| > | > | > the
| > | > | > Popup image for dynamic menu items. However, the key point is
that
| > | > what
| > | > | > menu items is static ones and what is dynamic ones. According
to
| > the
| > | > msdn
| > | > | > document, we can define the static menu items scope through the
| > | > | > "StaticDisplayLevels" property., by default it is set to "1"
which
| > | > means
| > | > | > only the first level menu items are static ones(all their child
| > menu
| > | > items
| > | > | > are dynamic ones...). So if you only add one level of menu
items
| > and
| > | > | > dosn't explicitly specify the "
| > | > | > StaticDisplayLevels", those top level menus are all static
ones,
| > and
| > | > only
| > | > | > the "StaticEnableDefaultPopOutImage" and "StaticPopoutImageUrl"
| > will
| > | > take
| > | > | > effect on them.....
| > | > | >
| > | > | > Here is the comments picked from MSDN:
| > | > | > =====================
| > | > | > Static Display Behavior
| > | > | > You can control static display behavior by using the
| > | > StaticDisplayLevels
| > | > | > property of the Menu control. The StaticDisplayLevels property
| > | > indicates
| > | > | > how many levels to display statically from the root of the
menu.
| > For
| > | > | > example, if StaticDisplayLevels is set to 3, your menu will be
| > | > expanded
| > | > to
| > | > | > statically display its first three levels. The minimum static
| > display
| > | > | > level
| > | > | > is 1, and the control will throw an exception if the value is
set
| > to 0
| > | > or
| > | > | > a
| > | > | > negative number.
| > | > | >
| > | > | > Dynamic Display Behavior
| > | > | > The MaximumDynamicDisplayLevels property specifies how many
levels
| > of
| > | > | > dynamically appearing menu nodes should be displayed after the
| > static
| > | > | > display level. For example, if your menu has a static level of 3
| > and a
| > | > | > dynamic level of 2, the first three levels of your menu would be
| > | > | > statically
| > | > | > displayed, while the next two levels would be dynamic.
| > | > | >
| > | > | > If MaximumDynamicDisplayLevels is set to 0, no menu nodes will
be
| > | > | > dynamically displayed. If the MaximumDynamicDisplayLevels is
set
| > to
| > a
| > | > | > negative number, an exception is thrown.
| > | > | > ======================
| > | > | >
| > | > | > Hope helps. Thanks,
| > | > | >
| > | > | > Steven Cheng
| > | > | > Microsoft Online Support
| > | > | >
| > | > | > Get Secure!
www.microsoft.com/security
| >| > | > (This posting is provided "AS IS", with no warranties, and
confers
| > no
| > | > | > rights.)
| > | > | >
| > | > | > --------------------
| > | > | > | From: "James Trefry" <
[email protected]>
| > | > | > | References: <
[email protected]>
| > | > | > <
[email protected]>
| > | > | > | Subject: Re: ASP.NET 2.0 Menu Control -
| > | > DynamicEnableDefaultPopOutImage
| > | > | > Property
| > | > | > | Date: Fri, 9 Dec 2005 21:52:11 -0700
| > | > | > | Lines: 16
| > | > | > | X-Priority: 3
| > | > | > | X-MSMail-Priority: Normal
| > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | > | > | X-RFC2646: Format=Flowed; Original
| > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | > | > | Message-ID: <#w#
[email protected]>
| > | > | > | Newsgroups:
microsoft.public.dotnet.framework.aspnet.webcontrols
| > | > | > | NNTP-Posting-Host: c-71-56-218-216.hsd1.co.comcast.net
| > 71.56.218.216
| > | > | > | Path:
| > | > TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15.phx.gbl
| > | > | > | Xref: TK2MSFTNGXA02.phx.gbl
| > | > | > microsoft.public.dotnet.framework.aspnet.webcontrols:31665
| > | > | > | X-Tomcat-NG:
| > microsoft.public.dotnet.framework.aspnet.webcontrols
| > | > | > |
| > | > | > | Thank you Kevin.
| > | > | > |
message
| > | > | > | | > | > | > | > Hi James,
| > | > | > | >
| > | > | > | > We have reviewed this issue and are currently researching on
| > it.
| > | > We
| > | > | > will
| > | > | > | > update you ASAP. Thanks for your patience!
| > | > | > | >
| > | > | > | > Kevin Yu
| > | > | > | > =======
| > | > | > | > "This posting is provided "AS IS" with no warranties, and
| > confers
| > | > no
| > | > | > | > rights."
| > | > | > | >
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|