Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my mvc application, i used "ul","li" for display menu in Layout.cshtml page.

How will i get the "li" value in Home controller



Thanks in advance.

What I have tried:

i tried to get the values in Home controller.but not actual getting the procedure.
Posted
Comments
Karthik_Mahalingam 1-Feb-17 5:05am    
use jquery and ajax to post the li values to the controller.
Richard Deeming 1-Feb-17 13:45pm    
An <li> doesn't have a value. You're going to need to explain exactly what you're trying to do.

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