Click here to Skip to main content
15,893,401 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi,

This is very urgent requirement. We need to develop the website. Where in that we need add a menu for different departments. When employees are log in to the website the departments wise we should divide the menu for each departments. Each department having different accessing pages. So we should add those for particular depart. Please help me to come form this problem. Guide me how to proceed for further...

Regards,
Jeevan.
Posted
Updated 17-May-10 22:58pm
v2
Comments
Toli Cuturicu 19-May-10 6:36am    
Reason for my vote of 2
"This is very urgent requirement"
This is very impolite.

Hi Jeevanrao,

You can dynamically create a list (Unordered) and on the basis of department you can populate the pages department wise.

Use CSS to give the Menu like effect to the unordered list.
 
Share this answer
 
Comments
Jeevanrao 18-May-10 2:13am    
Hi Jitendra,

Thank you for giving the response to my post. Right now i am using CCS menut for dyamically. I am creating master pages for each department where i am placing the menus for them. But i want to display the menus form data base or some thing like that... any one help me.

Regards
Jeevan.
Jeevanrao wrote:
This is very urgent requirement.

Ok. But you should understand people here help n their free time!


Jeevanrao wrote:
Please help me to come form this problem.

What have you tried till now? How much effort already made?


Jeevanrao wrote:
Guide me how to proceed for further...

Instead of Google, try CodeProject Search[^]. It will give you good amount of menu samples to work on.


Lastly, an Accordion type control looks fit in your requirement. Read about it[^].
 
Share this answer
 
Comments
Jeevanrao 18-May-10 2:11am    
Hi Sandeep,

Right now i am using CCS menut for dyamically. I am creating master pages for each department where i am placing the menus for them. But i want to display the menus form data base or some thing like that... any one help me.

Regards
Jeevan.
Sandeep Mewara 18-May-10 2:29am    
As i said in the last line, did you checked out Accordion control? Didn't that helped you?
For database driven menus/sitemap I'd look at creating a custom SiteMapProvider which can use a parameter for department to generate the menu.

You'll probably want a custom SiteMapDataSource so you can explicitly define the department on each masterpage.

There's plenty of help[^] on how to do this out on the web and it's not a scary as it first seems.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900