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

Feb 1 2017 12:49 AM

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

<ul id="nav">
<li><a href="../Home/Create">Application Registration</a></li>
<li><a href="../Home/IssuePaymentLetter">Payment Letter</a></li>
<li><a href="../Home/IssueOfNoc">Issue Of NOC</a></li>

<li id="li19"><a>Regretted Application</a>
<ul>
<li id="liResubmit" class="Submenuheader"><a href="../Home/SaveWebgridCheckedValuesIntoDatabase">Re-submit Earlier Regretted Appl.</a></li>
<li id="liCFCHandoverRegrettedApplication" class="Submenuheader"><a href="../Home/Index11">CFC Handover Regretted Application</a></li>
</ul>
</li>

<li id="li19"><a>Account</a>
<ul>
<li id="li20" class="Submenuheader"><a href="../Home/ReceivePayment">Receive Payment</a></li>
<li id="li21" class="Submenuheader"><a href="../Home/Index11">CFC Handover Regretted Application</a></li>
</ul>
</li>

<li id="li19"><a>Reports</a>
<ul>
<li id="li20" class="Submenuheader"><a href="../Home/DailyReport">Daily Report</a></li>
<li id="li21" class="Submenuheader"><a href="../Home/Index11">CFC Handover Regretted Application</a></li>
</ul>
</li>

<li>
<a>
</a><a href="../Home/Index">Log Out</a>
</li>
</ul>

Answers (5)