Hi there,
I'm sure this is a simple problem to solve, but it completely eludes me - I have an MVC grid bound to my model, and a custom command column to show a popup window with additional details about that row. However, on execution, the actual command instead shows the following:
Note the href - this is wrong, but I cannot for the life of me understand where it's appearing from!
My grid setup:
Anyone have insight into this, what am I missing?
I'm sure this is a simple problem to solve, but it completely eludes me - I have an MVC grid bound to my model, and a custom command column to show a popup window with additional details about that row. However, on execution, the actual command instead shows the following:
<a class="k-button k-button-icontext k-grid-View Details" href="/Reporting/Stock?Stock-page=2&Stock-pageSize=10"><span></span>View Details</a>My grid setup:
<% Html.Kendo().Grid(Model) .Name("Stock") .Columns(columns => { columns.Bound(o => o.SKU).Title("SKU"); columns.Template(o => Html.Truncate(o.Name, 60)).Title("Name"); columns.Template(o => Html.ActionLink(Html.Truncate(o.Region, 40), "Details", "Stock")); columns.Bound(o => o.Type); columns.Bound(o => o.Quantity); columns.Command(command => command.Custom("View Details").Click("showDetails")); }) .Pageable() .Groupable() .Sortable() .Render(); %>