0

I using mvc3 and i have two controllers Qualification and Teacher.I'm render teacher view and from teacher view i need to go to Qualification index view page.

@HTML.Action-Link (model-Item => item.Qualification.Type,"../Qualification")

But this give error saying "cannot convert lambda expression to string".How can i fix this error?

Ehsan
  • 30,264
  • 6
  • 53
  • 63
Nuwan Indika
  • 841
  • 3
  • 13
  • 26

1 Answers1

0

Write like this,

  @Html.ActionLink("Edit", "ActionName", "Controller", new { Id = parameter }, new { @class = "hide" })

see this link : HTML.ActionLink method

Community
  • 1
  • 1
Jaimin
  • 7,834
  • 2
  • 23
  • 31