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

apache - setting document root in antoher partition on ubuntu -

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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -