Home Show an actionlink in a tooltip mvc razorview

Show an actionlink in a tooltip mvc razorview

user7221204
1#
user7221204 Published in 2017-11-13 17:45:05Z
 I have a datatable with Edit,Delete actionlinks in each row. Instead of showing them as a column in the table, I would like to show them in a tooltip to save space. I am not sure how this can be achieved. I would like the tooltip to appear on the @rowNo.ToString("000") field. Thanks for the help. My code is as follows: 
@rowNo.ToString("000") @Html.ActionLink("Edit", "Edit", new { id = item.Id }) | @Html.ActionLink("Delete", "Delete", new { id = item.Id })
@foreach (var item in Model) { rowNo++; 
thmshd
2#
 It really depends on your HTML Framework. Assuming, you might probably use Bootstrap, I'd suggest something like Dropdowns. I think, by the example, you get the point...