function OnClientAddedHandler(upload, eventArgs) 
{    
    // modifies the text displayed on the RadUpload controls buttons.  
    if (upload.get_controlObjectsVisibility()) 
    { 
        var uploadElement = upload.get_element(); 
        var inputs = uploadElement.getElementsByTagName("input"); 
        for (var i = 0; i < inputs.length; i++) 
        { 
            var input = inputs[i]; 
            var id = input.id; 
            //customise the Add Button 
            if (id == upload.get_id() + "AddButton") 
            { 
                input.value = ""; 
            } 
            //customise the Remove button 
            if (id.indexOf(upload.get_id() + "remove") > -1) 
            {                 
                input.value = ""; 
            } 
            //customise the Clear button 
            if (id.indexOf(upload.get_id() + "clear") > -1) 
            {                 
                input.value = "Clear it"; 
            } 
            //customise the Select button                             
            if (input.className == "ruButton ruBrowse") 
            { 
                input.value = ""; 
            }  
            //customise the Delete button 
            if (id == upload.get_id() + "DeleteButton") 
            { 
                input.value = "Custom Delete"; 
            } 
        } 
    } 
} 
