Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

button passing arrays btwn server tab and client after tab using result[]

$
0
0
How do you pass an array [] when using a button from the server tab to client after tab using the result[]

Example:

Server Tab
---------------

string [] names = new string[25];

names[0] = "John";
names[1] = "Mark";
names[2] = "Frederick";

result["names"] = names; <<<<<< get run time ERROR cannot implicitly convert type 'string[]' to runnerDotNEt.XVar


Client After tab
----------------------

var names = result["names"];
alert('names[0]= " + names[0]);


Any feedback / thoughts appreciated.

Best
Mark
Big Timber, MT - USA

Viewing all articles
Browse latest Browse all 2586

Trending Articles