Pre-check of manlift performed before operation; functioned normally. After raising basket to operating height, basket controls and ground controls stopped functioning. Mechanic tried to repair but that didn't work so employees were rescued from manlift using a crane. No injuries, illnesses or damage occurred.