Posted on: 9/16/2014 6:09:52 PM | Views : 447

Hi folks,
I'd like to implement in my web application a control of menu with user levels.
This class 'UCNavigation' has the menus:
namespace Teach { public partial class UCNavigation : System.Web.UI.UserControl { public enum Permissoes { Administrador = 1, Concedente = 2, Convenente = 3, Gestor = 4, Interveniente = 5, } private void Page_Load(object sender, EventArgs e) { bool Logged = paginaBase.LoggedIn(Session); if (this.lnkChangePassword.Enabled) { this.lnkChangePassword.CssClass = "izq"; } else { this.lnkChangePassword.CssClass = "izqDesactivado"; } Page.ClientScript.RegisterSt ...

Go to the complete details ...