I like the args variable to use with RadWindow as a dialogbox. Very slick. But I found it has no length value, which I want to use to determine how many argument values I'm returning since it can vary. In the example I'm playing with, rather than assign values by name as your dialog example does below...
oArg.cityName = someValue;
oArg.selDate = someValue;
I'm assigning it like this, which is working fine...
oArg[0] = somevalue;
oArg[1] = somevalue;
oArg[2] = somevalue;
On the return to the parent, all the following can evaulate fine...
args._argument[0]
args._argument[1]
args._argument[2]
But since I don't always know how many arguments I'm returning, I want to reference the length in a loop. However, neither of the following evaluates, but it says they are undefined...
args._argument.length
args.get_argument().length
Any idea why?