Tuesday, 20 August 2013

Access C# List inside Javascript

Access C# List inside Javascript

On the server side I create a list
List<object> data = new List<object> data;
Inside Javascript the folowing won't work for anything but primitive types.
var localData = @data;
This is the error
System.Collections.Generic.List`1[System.Object]
What am I missing?

No comments:

Post a Comment