I have a small menu on Master Page:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="INTEGRASYS.SiteMaster" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
<title> ::INTEGRASYS::</title>
<link href="~/Styles/estilo.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form runat="server">
<header>
<ul>
<li class = "liultimo"><a href = "index.aspx" > ADM SYS </a></li>
<li> <a href = "administrativo.aspx" > Administrativo </a></li>
<li> <a href = "" > Executivo </a></li>
<li> <a href = "" > Comercial </a></li>
<li> <a href = "" > Técnico </a></li>
</ul>
</header>
. . .
My home page is login ( login.aspx
). What I want to do is to leave these list items disabled ( li
) and enable them after the login , page index.aspx
login is already working and redirects to index.aspx
.