Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2006, 08:51 AM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default Menu's DynamicEnableDefaultPopOutImage??

Hi All

I am just playing with the menu control for a project and would like to not include a pop out image within the dynamic menu. At the moment it shows the default triangle image and when I set the property DynamicEnableDefaultPopOutImage="false" I expected this to disappear but it hasn't.

Can anyone see what I could be doing wrong? or have I got mixed up as to what this property should be doing?

Code:
<asp:Menu ID="Menu1" runat="server" DynamicEnableDefaultPopOutImage="False">
            <Items>
                <asp:MenuItem Text="New Item 1" Value="New Item 1">
                    <asp:MenuItem Text="New Item 1" Value="New Item 1">
</asp:MenuItem>
                </asp:MenuItem>
                <asp:MenuItem Text="New Item 2" Value="New Item 2">
                    <asp:MenuItem Text="New Item 2" Value="New Item 2">
</asp:MenuItem>
                </asp:MenuItem>
                <asp:MenuItem Text="New Item 3" Value="New Item 3">
                    <asp:MenuItem Text="New Item 2" Value="New Item 2">
</asp:MenuItem>
                </asp:MenuItem>
            </Items>
        </asp:Menu>
Ta

Rit
__________________
Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
 
Old April 19th, 2006, 01:22 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Rit,

Shouldn't you be using StaticEnableDefaultPopOutImage instead?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old April 19th, 2006, 02:35 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default

Ah ha!.. now that makes sense. Doh! Sorry for the time waster!... I got little confused with all of the properties relating top the menu control.

Thanks Imar!

Rit

Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
 
Old April 19th, 2006, 03:02 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote:Ah ha!.. now that makes sense.
You think so?? ;)

I always get a bit confused by properties with names like DynamicEnableDefaultPopOutImage and StaticEnableDefaultPopOutImage..... ;)

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old April 19th, 2006, 03:58 PM
Friend of Wrox
 
Join Date: Oct 2005
Posts: 173
Thanks: 0
Thanked 2 Times in 1 Post
Default

You mean to say they don't just roll off of your tongue?.. try saying them after a few pints :-)

Rit
www.designandonline.co.uk
INSPIRE | CREATE | DELIVER
 
Old April 19th, 2006, 04:01 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Haha, yeah good idea. Trying it out with some red wine now.... ;)

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was saying out loud: DynamicEnableDefaultPopOutImage and StaticEnableDefaultPopOutImage as often and as quick as I could... What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
MDI & MDI Child Forms Menu's in VB2005 yulyos Visual Studio 2005 0 September 7th, 2007 09:49 AM
Pop up Menu's derek Dreamweaver (all versions) 7 November 4th, 2004 07:13 PM
Pop up menu's in templates derek Dreamweaver (all versions) 2 May 8th, 2004 01:33 PM
Pop up Menu's derek Dreamweaver (all versions) 2 January 14th, 2004 07:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.