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

You are currently viewing the ASP.NET 3.5 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 December 7th, 2009, 02:51 PM
Authorized User
 
Join Date: Dec 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating a dynamic menu using XML

Hi,
I have a .net 3.5 web application. I need to create a menu control to be referenced by all the web pages of the application. The requirement here is that the menu should be changing dynamically as per the value selected from the menu by the user.
e.g: Menu items are: Home, Import, Export, Reports and Help.

On click of Home, all should be visible.
On click of Import only Home, Import and Help should be visible
and so on.
Also Reports have sub menus: Import Summary and Export summary report.

Also we need to create the menu using XML and not the database table.

Any suggestions?? Please let me know soon.

Thanks,
Swati
 
Old December 14th, 2009, 02:57 AM
Authorized User
 
Join Date: Dec 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Menu control in asp.net

hi,

We have a menu user control with menu items and the items having sub items. As per the subitem selected, the user interface will change. So I would like to capture which sub item has been clicked.

The issue is that 1st the page_load event of the web page executes and then the user control cick event. I have written the code to capture the Menu sub item click in the user control click event. Since the page_load of web page executes 1st, it doesnt notices which subitem has been selected.

Any suggestions as to how can i record that value? or is there any way to record that in the page_load (or any othre event) on the web page itself...

Please reply ASAP.

Thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Dynamic Menu in JSP rama26 J2EE 1 January 13th, 2010 09:13 AM
Creating Dynamic ASP.NET Server Controls Using XML kwilliams XSLT 0 October 6th, 2006 01:42 PM
creating dynamic menu in jsp geethagowri J2EE 2 April 15th, 2006 01:49 AM





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