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
  • 31,833
  • 6
  • 56
  • 65
Nuwan Indika
  • 901
  • 4
  • 14
  • 27

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,964
  • 2
  • 25
  • 32