Navigation Item Page Not Found Error #5651
-
Hi guys, I created a new view (.cshtml file) and I want to access to that page from main menu. I added my page in NavigationItems.cs file and now i can see a link in main menu, but everytime i click on it, i get error page not found. I dont know whats problem, i think it could be the folder where i put my page, or my url in NavigationLink. It looks something likte this and its in share folder. [assembly: NavigationLink(5008, "Privacy Policy", url: "~/PrivacyPolicy", permission: "", icon: "fa-tachometer")] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
you need to put a controller in the folder with your CSHTML
|
Beta Was this translation helpful? Give feedback.
you need to put a controller in the folder with your CSHTML
something like this