//---------------------------------------------------------------------------------------------------- public static T GetNewGenericArray <T>(T tmpNullObj) { T rtn = tmpNullObj; HtmlContext.eval("rtn = new Array();"); return(rtn); }
//---------------------------------------------------------------------------------------------------- public static int Len(object arrayObj) { int len = 0; try { HtmlContext.eval("len = arrayObj.length;"); } catch { } return(len); }