Click here to Skip to main content
15,790,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have add partial view( mvc) under view->account->Partialview but when i use following code to navigate , it's fail. When i add '#' with href then it works fine. I want to know that is there any way to get correct herf link of partial view like @url.Action("action name","controller name").might it will not work under production server.

before code:
        <li><a href="/routeOne">Route One</a></li>
        <li><a href="/routeTwo">Route Two</a></li>
        <li><a href="/routeThree">Route Three</a></li>


After code:

 <pre lang="HTML"><ul>
        <li><a href="/#/routeOne">Route One</a></li>
        <li><a href="/#/routeTwo">Route Two</a></li>
        <li><a href="/#/routeThree">Route Three</a></li>

    <div ng-view></div>
Updated 11-Dec-15 7:02am

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