Treeview Menu in asp .net 1.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hihi,

Currently, had to create a tree view side menu using asp .net 1.0. Had did
some research but didn't find a good artical on it.

There's what i need to do:
Retrieve data from database to form e menu. The menu is dynamic, it will
display different data in e database according to e different login users.

e.g.

[user1]
- [module 1]
- [module 2]
- [module 3]
- [module 4]
- [module 5]

[user2]
- [module 1]
- [module 3]
- [module 4]

[user3]
- [module 4]
- [module 5]

is there any reco on good articals i can refer to, or a good control i could
use??

Thanx a million :)

RegarDx...
 
What you want to do is to implement a MembershipProvider and a RoleProvider.
The MembershipProvider allows you to work with individual users and set
permissions on each user. The RoleProvider allows you to implement Role
Groups, and set permissions on each Role. By combining them, you have
individual user accounts that belong to Roles, and you use the Roles or the
individual users for authentication. The ASP.Net 2.0 Menu and TreeView
Controls can work with this and show or hide menu items based on the
Membership/Role of the user, with very little code. The Membership and
RoleProviders also work on a folder basis, and will not allow prohibited
users to directly navigate to disallowed folders or pages. Here are some
resources to help get you started:

http://www.odetocode.com/Articles/427.aspx
http://www.odetocode.com/Articles/428.aspx
http://msdn2.microsoft.com/en-us/library/f1kyba5e.aspx
http://msdn2.microsoft.com/en-us/library/8fw7xh74(VS.80).aspx

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
Back
Top