Search:
Namespaces
Discussions
.NET v1.1
Feedback
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
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com