Home Routing Issue in Asp.net mvc 5
Reply: 0

Routing Issue in Asp.net mvc 5

user517
1#
user517 Published in July 16, 2018, 6:41 am

i am working in Asp.net mvc 5. I am having issue with Html.actionlink.

@Html.ActionLink(cust.Name, "Details", "Customers", new { id = cust.Id }, 
null);

cust.name is the text displayed , Details is the method in Customers Controller and i am passing id as parameter in Details method. But issue is that i have chechked it through debugging, the control does not goes to Details method on clicking the the link(cust.name).

i have been stuck here, please help

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.320661 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO