Click here to Skip to main content
15,559,543 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I want to pass one session value with my Menu navigate URL..

I am getting error..

Any sysntax error or some other problemmm..

<asp:MenuItem  Text="Reports" Value="Third"> 
                                            <asp:MenuItem NavigateUrl="~/Emp.asp?Ep="<% session("Emp")%> Text="Reports" Value="Reports"></asp:MenuItem> 
                                            <asp:MenuItem  NavigateUrl="~/Emp.aspx" Text="Emp" Value="Emp"></asp:MenuItem>
Updated 14-Dec-11 1:24am

1 solution

The quote of Ep=" is never closed.

Good luck!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900