Hi,
I am trying to get this to work with no luck.
I have a form where users can upload many small images and I need to know which image is what, an example might be:
it has 3 radupload controls on it.
upSmallIcon
UpMedIcon
upLargeIcon
I need each one to know which db field it represents...
the form has precious little space, so what I would like to do is have an image button which might have the existing image file set to it's image url so all the user would see is the image button, when they click the image button the select file dialog appears, the user can select the file and I take it from there.
I saw this in another post.
This code however does not work if the radupload visible is set to false. I do not want the upload control itself to be visible, just the image button. Also obviously if there was a way to use a single control that would be great as well.
Any and all help would be greatly appreciated because this app I am working on has this type of thing all over the place in it.
Thanks ahead of time.
I am trying to get this to work with no luck.
I have a form where users can upload many small images and I need to know which image is what, an example might be:
it has 3 radupload controls on it.
upSmallIcon
UpMedIcon
upLargeIcon
I need each one to know which db field it represents...
the form has precious little space, so what I would like to do is have an image button which might have the existing image file set to it's image url so all the user would see is the image button, when they click the image button the select file dialog appears, the user can select the file and I take it from there.
I saw this in another post.
<script type="text/javascript">
var $fileInput;
function onClientAdded(sender, args) {
$fileInput = $telerik.$(args._fileInputField);
}
function OpenDialog() {
$fileInput.click();
}
</script>
This code however does not work if the radupload visible is set to false. I do not want the upload control itself to be visible, just the image button. Also obviously if there was a way to use a single control that would be great as well.
Any and all help would be greatly appreciated because this app I am working on has this type of thing all over the place in it.
Thanks ahead of time.