actionlink is passing null values in parameter

Last Reply 11 days ago By dharmendr

Posted 11 days ago

I want to send Id from the view to controller by actionlink, but it is not acception parameter and sending null value

@Html.ActionLink("EditContact","EditContact","Vendor", new{id=Model.Id} ,null)

 

You are viewing reply posted by: dharmendr 11 days ago.
Posted 11 days ago

Hi mamtaban,

Please share the controller code.