I have a site that dynamically creates two arrays of Lat/Long values based on the stores that the currently logged in user can see. If the user can only see one location then I get an error about array length needing to be a finite integer. When I look at the source I see
var ls = new Array(45.056124);
is being created on the page dynamically which is what I'm expecting. Except I think it is treating it as if I am trying to set the length of the array instead of set the first element to that value.
How do I go about creating an array using the ClientScript.RegisterArrayDeclaration
function to hold a single double value using vb.net?
ClientScript.RegisterArrayDeclaration
call with double quotes and then implementing the javascriptparseFloat
function anywhere that the array was used. – Mike_OBrien Sep 1 '11 at 19:25