MVC ActionLink
Hi guys. Recently I have faced with interesting problem with MVC widgets. The Url that generated by Html.ActionLink() is incorrect.
Here is my action in controller
[HttpGet]
public
ActionResult Delete(
string
id)
if
(!
string
.IsNullOrEmpty(id))
// DELETE ITEM
return
this
.Index();
And here is my actionLink in View
@Html.ActionLink(
"Remove"
,
"Delete"
,
new
id = item.Id,
new
@
class
=
"btn btn-danger"
, type =
"button"
)
But as a result I get this link:
/itefinity/Administration/Synchronization/MySync/Delete/11222/
And it is incorrect
I have to get this link
/Sitefinity/Administration/Synchronization/MySync/Delete/11222/
Please help me. I don't know what am I doing wrong.
Best regards, Andrew
Hello,
This is currently a bug in Sitefinity. You can find it here and vote for it to increase its priority.
Regards,
Velizar Bishurov
Telerik
Issue tracker says the bug is fixed. From which Sitefinity version the fix is included. Feather version mentioned v1.4.390.0
Feather version v1.4.390.0 is working with Sitefinity 8.2