Click here to Skip to main content
15,888,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All ,
I am new to MVC

I have my project with following structure
    TestSolution

    • Model
    • shared
    • View
    • Controller
    • area

      • Area1
        • Model
        • View
        • controller
      • Area2
        • Model
        • View
        • controller






    i am using @html.actionlink("view","controller") for redirection process
    when i redirect from root folder view to sub folder it will works fine ,again if i redirect from sub folder to root folder view means i got a issue ,for all the folders i have common shared folder in my root only ,
    my menu navigation view is on shared folder only,i think this is causing issue. how can i over come that,
Posted
Updated 26-Jun-14 1:55am
v5

1 solution

Finally I found the solution for this :
http://www.youtube.com/watch?v=LStRA6qUAks[^]

this URL Have complete reference
 
Share this answer
 
Comments
Member 10967533 2-Jul-15 9:06am    
i use the return RedirectToAction("Index", "Home", new { area = "Area Name" }); in my application but i am failed to redirect from root folder to area folder please give me reply fast its urgently.
Arun Raju 7-Oct-15 3:39am    
i think you are redirecting to root folder for that we don't need to give area name simply put empty inside the area tag

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