This question is locked. New answers and comments are not allowed.
I created a column for checkboxes based on the example described here: http://demos.telerik.com/aspnet-mvc/razor/grid/checkboxesajax
I enable PageOnScrolling
I chose a random column to group by.
I scroll down the grid and get the following exception in Javascript: 'MyPropertyName' is undefined
This is the function that throws the exception.
I've disabled all javascript that works with the checkbox column on grid events, so the only thing left is the ClientTemplate that creates the checkboxes
I don't have this exception when there is no GroupBy column.
I enable PageOnScrolling
I chose a random column to group by.
I scroll down the grid and get the following exception in Javascript: 'MyPropertyName' is undefined
This is the function that throws the exception.
function
anonymous(data) {
var
p=[];
with
(data){p.push(
'<input type=\'checkbox\' name=\'checkedGroup\' value=\''
, MyPropertyName ,
'\' />'
);}
return
p.join(
''
);
}
I've disabled all javascript that works with the checkbox column on grid events, so the only thing left is the ClientTemplate that creates the checkboxes
columns.Bound(o => o.MyPropertyName)
.ClientTemplate(
"<input type='checkbox' name='checkedGroup' value='<#= MyPropertyName #>' />"
)
.Title(
""
)
.Width(40)
.HtmlAttributes(
new
{ style =
"text-align:center"
})
.Filterable(
false
)
.Sortable(
false
)
.Groupable(
false
);
I don't have this exception when there is no GroupBy column.