Ticket S173522
Visible to All Users

ASPxUploadControl - Provide the capability to call a file select dialog without clicking the "Browse" button or input field

created 11 years ago
Comments (2)

    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.

      Answers approved by DevExpress Support

      created 10 years ago

      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.

      Additional information:

      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.

        Show previous comments (1)
        Vasily (DevExpress Support) 10 years ago

          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.

            DevExpress Support Team 10 years ago

              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.

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.