G
Guest
Hi,
I have a 3 dimenionsal array which I populate in my C# code.
I then want to make this available to my Javascript so I do below.
Page.ClientScript.RegisterArrayDeclaration("myArray", myArray.ToString())
When I view my source html I see var myArray = new Array(System.Int32[,])
What am I doing wrong here?
I have a 3 dimenionsal array which I populate in my C# code.
I then want to make this available to my Javascript so I do below.
Page.ClientScript.RegisterArrayDeclaration("myArray", myArray.ToString())
When I view my source html I see var myArray = new Array(System.Int32[,])
What am I doing wrong here?