.NETGURU
Creating Dynamic Menus
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngarchitecture' list.


priyankj
Dear All,

I need your help to find out the best way to create the run time menus. I'm caught up in a situation where I need to create different menus at runtime for every different user at the time he logs in the application. I know the number of possible menus that is available. How do I manipulate them?

Looking forward for your co-operation. Thanks in advance for your time.

Warm Regards,
Priyank
Reply to this message...
 
    
Hue Phung
Dear All,

I need your help to find out the best way to create the run time menus.
�'m caught up in a situation where I need to create different menus at
�untime for every different user at the time he logs in the
application. � know the number of possible menus that is available.
How do I �anipulate them?

Looking forward for your co-operation. Thanks in advance for your time.

Warm Regards,
Priyank
Reply to this message...
 
    
Russ McClelland
Dear All,

I need your help to find out the best way to create the run time menus.
= I'm caught up in a situation where I need to create different menus at
= runtime for every different user at the time he logs in the
application. = I know the number of possible menus that is available.
How do I = manipulate them?

Looking forward for your co-operation. Thanks in advance for your time.

Warm Regards,
Priyank
Reply to this message...
 
    
Tim Curtin
keep a table of users vs. menu options and use user levels to drive the
menus.

[Original message clipped]

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply to this message...
 
    
Mark Feinholz
...nd then use a DataList or Repeater to create your list of menu items.

This technique also serves well for a second layer of authorization that
will prevent unauthorized access to a page when a user directly keys in
a URL instead of clicking thru a link. All you have to do is compare
the Request.CurrentExecutionFilePath to the list of Url 's from the
database that the user has rights for and then transfer to an
"Unauthorized" page if the current page is not in the list.

If you structure your db table containing the functions/links/pages that
a role has access to with a "parent" column, then you've got a menu
hierarchy as well.

-----Original Message-----
From: Tim Curtin [mailto:Click here to reveal e-mail address]
Sent: Friday, July 19, 2002 5:29 AM
To: aspngarchitecture
Subject: [aspngarchitecture] Re: Creating Dynamic Menus

keep a table of users vs. menu options and use user levels to drive the
menus.

[Original message clipped]

| http://www.asplists.com/asplists/aspngarchitecture.asp = JOIN/QUIT<BR>
| http://www.asplists.com/search = SEARCH Archives<BR>

</BODY></HTML>
[Original message clipped]

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply to this message...
 
 
System.Web.UI.WebControls.DataList




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification