asp.net mvc - Without using separate link, I want to make item name in a list as a link -


          @html.displayfor(modelitem => item.coursecategory)           @html.actionlink("details", "details", new { id = item.id }, new { @class = "newbutton_view" }) 

the above code segment in view. course names displaying , when details link clicks shows course details of selected course. want use course name link in-spite of using keyword link.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -