This question is locked. New answers and comments are not allowed.
how can send an array when onDataBinding happen?
.ClientEvents(events => events.OnDataBinding("onDataBinding"))
jquery function:
function onDataBinding(e) {
debugger;
var intArray = [1, 2, 3, 4, 5];
e.data = { DocStatus:intArray};
}
DocStatus is an Ienumerable<int> property
this code do not work
.ClientEvents(events => events.OnDataBinding("onDataBinding"))
jquery function:
function onDataBinding(e) {
debugger;
var intArray = [1, 2, 3, 4, 5];
e.data = { DocStatus:intArray};
}
DocStatus is an Ienumerable<int> property
this code do not work