I have an array list on my server side that i want to use on my client side as an array how can i do this.
1 Answer
You can return it as JavaScript Object Notation ( JSON ) see this question here on StackOverflow on "How can I encode an Array in VB.NET to JSON?".
To quote @bdukes answer:
Dim serializer as New JavaScriptSerializer()
Dim arrayJson as String = serializer.Serialize(myArray)