i've a menu list with some menu items... i wants to display only few items according to login ids..
for example:-
if anyone logins, then menu list have following menu items:-
home | news |love |action |wellness |family |business travel |fanclub | update credit | logout
but if someone dont want to login and go inside pages then menu list have following options:-
home | news |love |action |wellness |family |business travel |fanclub
i am doing following code but it gives error (Expected ; or = (cannot specify constructor arguments in declaration)) in following highlighted blue line :-
<%--
Maldives Weather
30 °C | 86 °F / Scattered Clouds
Humidity 70%
Humidity 70%
--%>
<%-- Supported By --%>
Supported By
<%--
--%>
<%--
--%>
<%--
--%>
<%--
--%>
<%--
--%>
<%--
--%>
<%--Wine & Dine
--%>
<%--
--%>
<%----%>
<%
If Session("Bookuserid") <> "" Then
If Session("UserType") = "OO" Then
Response.Write("")
Response.Write("Update Credit")
Response.Write("")
End If
Response.Write("")
Response.Write("LogOut")
Response.Write("")
End If
%>
<%--
LogOut
--%>
please help me..
thank you.


<%--
Vishnujeet KumarPosted Nov 8, 2012, 10:04 AM
Role based menu itms example.
http://www.c-sharpcorner.com/forums/thread/193261/how-to-restrict-a-perticular-user-from-using-menu-items.aspx