1

Can any body help me to resolve url (route url) in MVC

when i enter into the system it redirects me to Dashboard it works perfectly.

I have user defined menu whose routing value stored in database as follows suppose i entered into the system it will redirect me to Dashboard page suppose i want to redirect to usermaster page then url should be as follows http://localhost:6782/Home/Index

but when i try to redirect to home index page the url should look like this http://localhost:6782/Dashboard/~/Voucher/Create

i want to remove Dashboard/~ how plz let me know

vaibhav nemade
  • 11
  • 1
  • 11
  • strMenu = strMenu + "
  • " + subItem.vDescription + " "; i hope it helps :)
  • – NorCode Mar 04 '16 at 10:26
  • I tried this but it shows me http://localhost:6782/Dashboard/@Href('~/''Voucher/Create' Dashboard is not getting resolve – vaibhav nemade Mar 04 '16 at 10:37
  • Please tell me, which render engine you are using razor or aspx mvc and where you generating url in controller or view ? – NorCode Mar 04 '16 at 10:48
  • Lets see you code to do the redirect. – Jamie Rees Mar 04 '16 at 11:16