This question is locked. New answers and comments are not allowed.
Hi all
I have this problem with DetailView ClientTemplate strings
This code demonstrate the problem, what am i doing wrong ?
Thanks
Kobo
I have this problem with DetailView ClientTemplate strings
This code demonstrate the problem, what am i doing wrong ?
<%= Html.Telerik().Grid<EmployeeViewModel>() .Name("Employees") .Columns(columns => { columns.Bound(e => e.FirstName).Width(140); columns.Bound(o => o.SomeStringID) .Width(101); columns.Bound(o => o.SomeBoolValue) //Create working JS call .ClientTemplate("<input type'checkbox' value=<#= SomeBoolValue #> onchange='JSFunction('\"<#= SomeStringID #>\", this.checked' />") .Width(101); }) .ClientEvents(events => events.OnRowDataBound("employees_onRowDataBound")) .DetailView(details => details.ClientTemplate( Html.Telerik().Grid<OrderViewModel>() .Name("Orders_<#= EmployeeID #>") .Columns(columns => { columns.Bound(o => o.SomeStringID) .Width(101); columns.Bound(o => o.SomeBoolValue) //Create a none working JS call .ClientTemplate("<input type'checkbox' value=<#= SomeBoolValue #> onchange='JSFunction('\"<#= SomeStringID #>\", this.checked' />") .Width(101); }) ...Thanks
Kobo