Torna al Thread
function CallBackHandler(result, context){
if (context.CommandName == "LeggiProgetti"){
document.forms[0].elements['DropDownList3'].options.length = 0;
while (result.length > 0) {
var indexofSep = result.indexOf(";");
var indexofID = result.indexOf("_");
var itemID= result.substring(0,indexofID);
var itemList = result.substring(indexofID+1, indexofSep);
result = result.substring(indexofSep + 1);
document.forms[0].elements['DropDownList3'].options.add(new Option( itemList , itemList ));
}
}
}