RadUpload Enter Key

2 posts, 0 answers
  1. Ravi
    Ravi avatar
    1 posts
    Member since:
    Jul 2015

    Posted 14 Jul 2015 Link to this post

    Hi,

    when Pressing Tab and the Focus is on RadUpload While Clicking on the Enter key the File upload Dialog is not opened.The focus is on Select Button.The Issue is on RadUpload not in RadAsyncUpload..Please give me some solution.I Was Specified the AccessKey="W"  also.but it is not working.

     

    This is my code:

     

    <div class="twocolumn row">
                <label>
                    File *</label>
                <div id="MainContents">
                    <telerik:RadUpload AllowedMimeTypes="xml,application/x-zip" Font-Names="Arial, Helvetica, sans-serif"
                        Font-Size="14px" ReadOnlyFileInputs="true" EnableViewState="false" InitialFileInputsCount="1"
                        MaxFileInputsCount="1" ToolTip="Select a valid file to upload" Style="margin-top: -3px;"
                        OnClientFileSelected="ReferralMgmtValidateUploadedFile" runat="server" ID="RadUpload1"  AccessKey="W"  DisablePlugins="true" EnableEmbeddedScripts="true"
                        RegisterWithScriptManager="false" EnableFileInputSkinning="true"
                        ControlObjectsVisibility="None">
                        <Localization Select="SELECT"/>
                    </telerik:RadUpload>
                    <label id="lbl-upload-error-msg" style="color: Red; width: 100%; text-align: left;
                        font-weight: normal; margin-bottom: 5px;">
                    </label>

                    <script type="text/javascript" language="javascript">
                        if (isMobileSafari()) {
                            $('#MainContents').html('Upload functionality is not available for this browser.');
                        }
                    </script>

                </div>
            </div>​

     

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    830 posts

    Posted 17 Jul 2015 Link to this post

    Hello,

    You can subscribe to the RadAsyncUpload's OnClientAdded client-side event and use the javascript my colleague Peter has posted in the following thread. You will also have to set the ReadOnlyFileInputs property to "false".

    Please, have in mind that the RadUpload control is obsolete and no longer supported and we recommend using the RadAsyncUpload.

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top