Author: MartRum | Posted on: 8/22/2010 4:58:42 PM | Views : 305

So I have a fairly simple web site which allows an Administrator to edit some data in a database which is displayed on some web pages.


The main navigation on the site is shown in the code snippet below. The Admin link goes to a Login.aspx which allows the Administrator to log in - once authenticated they get sent to the data edit page.
So my question is, how could I dynamically add a link to the data edit page in the <ul> list below once the user is authenticated ?
This would allow the authenticated user to see links to the secure pages in the main navigation bar.



<%--Top Navigation Menu --%> <div id="topMenu"> <ul> <li><a href="default.aspx">Home</a></li> <li><a href="introduction.aspx">Introduction</a></li> <li><a href="curriculum.aspx">Curriculum</a></li> & ...

Go to the complete details ...