Hi
I am attempting to register the RadUpload control to an image button event.
Currently, I have the image button in place and I have created a separate page with the RadUpload control registered and I will be using an iframe to render in the background without being shown to the user.
I want the image button to open the actual file selection (browse button) from the image press, allow the user to select a file and pass this back to the originating page.
Is there a JavaScript method I can access that will allow me to do this?
Currently I have (Ignore the implicit drill down to the control, I am going to create a loop to find the "ruButton ruBrowse" class) :
$find('cRadUpload').get_element().getElementsByTagName('ul')[0].getElementsByTagName('li')[0].getElementsByTagName('input')[0].click();
But the image button does nothing when clicked...
Regards,
Jonathan
I am attempting to register the RadUpload control to an image button event.
Currently, I have the image button in place and I have created a separate page with the RadUpload control registered and I will be using an iframe to render in the background without being shown to the user.
I want the image button to open the actual file selection (browse button) from the image press, allow the user to select a file and pass this back to the originating page.
Is there a JavaScript method I can access that will allow me to do this?
Currently I have (Ignore the implicit drill down to the control, I am going to create a loop to find the "ruButton ruBrowse" class) :
$find('cRadUpload').get_element().getElementsByTagName('ul')[0].getElementsByTagName('li')[0].getElementsByTagName('input')[0].click();
But the image button does nothing when clicked...
Regards,
Jonathan