We have implemented the new DialogTriggerID property that specifies the ID (or a list of IDs) of a web control or HTML element, which when clicked, invokes a Select File dialog. On the client side, the trigger elements can be specified by the SetDialogTriggerID method.
For the ASPxFileManager control, the similar ASPxFileManager.SettingsUpload.DialogTriggerID property has been implemented.
Note that the specified links will be available with the next major release 15.1.
ASPxUploadControl - Provide the capability to call a file select dialog without clicking the "Browse" button or input field
Answers approved by DevExpress Support
We have implemented the functionality described in this ticket. It will be included in our next update(s).
Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.
Hi Trevor,
Currently, I cannot provide you with the exact release date of v15.1. In any case, usually we release major versions twice a year, so the 15.1 version should be released at the beginning of this summer. Please bear with us.
Hi,
sorry for borrowing this post for question, but may i ask will this work while clicking on the ASPxImageControl?
i try to have an file dialog popup while user click on the imagecontrol but it does not work.
code as below;
<dx:ASPxImage ID="imgLogo" runat="server" Width="100%" ClientInstanceName="imgLogo"> </dx:ASPxImage>
<dx:ASPxUploadControl ID="ucImage" runat="server" UploadMode="Auto" Width="280px" Visible="False">
<ClientSideEvents Init="function(s, e) {
s.SetDialogTriggerID('imgLogo');
}" />
</dx:ASPxUploadControl>
Thank you.
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T273189: ASPxUploadControl - How to trigger file select dialog when clickung ASPxImage control. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Hi guys,
Any update on this?
Currently, this capability is not yet available.
You can add this report to your Favorites list to be automatically notified of our progress regarding this subject.