I have attached a sitemap datasource with treeview to display menu.
how to write code in the treeview .
the menu in treeview is
- View books
Who ever wants to view book first need to login first they cannot directly go and click the view books.
so i need to write a code as follows.
if session[user] != null
--> then proceed (which means logged in)
go to login page.