This is a migrated thread and some comments may be shown as answers.

[Solved] send an array when data binding

0 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mina
Top achievements
Rank 1
mina asked on 12 Dec 2012, 04:14 PM
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 
Tags
Grid
Asked by
mina
Top achievements
Rank 1
Share this question
or