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
Post a Comment