Hi. I need to pass a variable to event move from the client side. I'm working with this code:
Sending with
function moveEvent(e, newStart, newEnd, oldColumn, newColumn) {
var myArray = ['a', 'b', 'c'];
dpc1.eventMoveCallBack(e, newStart, newEnd, oldColumn, newColumn, myArray);
}
Receiving with
string state = (string)e.Data[0];
I get this error:
The JsonData instance has to be initialized first
Is the error in the system or am I doin something wrong. It seems such a simple need (to pass and receive a variable) but whatever I do it dont work.....