Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950
This is the forum to discuss the Wrox book ASP.NET MVC Website Programming Problem Design Solution by Nicholas Berardi, Al Katawazi, and Marco Bellinaso; ISBN: 9780470410950
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 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
  #1 (permalink)  
Old January 29th, 2010, 01:14 PM
Authorized User
Points: 437, Level: 7
Points: 437, Level: 7 Points: 437, Level: 7 Points: 437, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2008
Location: , , .
Posts: 85
Thanks: 10
Thanked 0 Times in 0 Posts
Default Problem with Menu Item

Hello Everone,
I want to display page in IFrame when you click on menu item. This is how I am writing the code for it.

Code:
Dim prntMenu As New MenuItem("User", "", "", "~/User.aspx", "_Parent")
prntMenu.Target = "myIframe"
Menu1.Items.Add(prntMenu)
But its opening the page in the new window instead of the given target of Iframe.

Also tried replacing "_Parent" with Iframe ID "myIframe" but no difference.

Could you please tell me where i am doing wrong.

Thanks
Nelly78


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anable/Disable main menu item problem Dmitriy Oracle 1 January 23rd, 2007 03:41 PM
Anable/Disable main menu item problem Dmitriy Oracle ASP 0 January 23rd, 2007 03:36 PM
Anable/Disable main menu item problem Dmitriy Ajax 0 January 23rd, 2007 03:29 PM
Anable/Disable main menu item problem Dmitriy Assembly Language 0 January 23rd, 2007 03:27 PM
how create menubar, menu, menu item in xsl vijayanmsc XSLT 1 June 5th, 2006 06:43 AM





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