Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VS2005 C# menu
A question is sticking in my mind that can we add/update/delete a content link from main menu and right side menu contents.
 
In brief
My question is that I have some contents in main menu and sub menu. The same sub menu content are present in right side contents of few pages.
 
I want to made such facilities that if I changed or add any link in sub menu of a menu content then it also must be changed in right side content related to same menu content pages.
 
for example I have menu and sub menu like
 
home  content1   content2   content3
      subA1      subB1      subC1   
      subA2      subB2      subC2    
      subA3      subB3      subC3   
and right side contents
 
content1
subA1
subA2
subA3
 
now I want to subA1 link then it is possible by any way to update both link in main menu and right side menu.
 
Please let me know if this is possible.
If any query against this question to understand this question please tell me.
 
[edit]text block added[/edit]
Posted 15-Nov-12 22:22pm
Edited 15-Nov-12 22:58pm
(no name)60.4K
v2
Comments
BobJanova at 16-Nov-12 5:14am
   
If they are both controls bound to the same data source then it should just work. If you are constructing the menu yourself then you will have to handle the binding to both explicitly.
BillWoodruff at 16-Nov-12 9:35am
   
You write: "now I want to subA1 link then it is possible by any way to update both link in main menu and right side menu."
 
Did you mean to say that you want to change the text from "subA1" to something else, and have it appear updated.
 
What is the reason for having two duplicate menus ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,800
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100