function PopulateList(obj) { // Upload the image to the server folder filePath = obj.value; // calls the server's method using client callbacks CallServer(obj.value,''); }