What am trying to achieve is to get a jquery modal popup from the existing code - through ActionLink in telerik grid, but am missing the syntax, if someone could help out please
this actionlink works perfectly bringing out the Modal.
<%: Html.ActionLink("Edit", "DemoEdit", new { xid = item.Userid }, new { @class = "abookModal", title = "Edit Person" })%>
and so I embedded this into telerik grid, as in client side.
.Columns(columns =>
{
columns.Bound(e => e.Userid);
columns.Bound(e => e.Name);
columns.Bound(e => e.Email);
columns.Bound(e => e.Userid)
.ClientTemplate(Html.ActionLink("Edit", "DemoEdit", new {xid = "<#= Userid #>"}).ToString(), new { @class = "abookModal", title="Edit Person"});
the very last part starting from
new { @class = "abookModal", title="Edit Person"}
wouldn't be taken in because "No overload for method 'ClientTemplate' take 2 arguments.
Any solution to this?