This is a migrated thread and some comments may be shown as answers.
RadUpload Enter Key
1 Answer 4 Views
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 14 Jul 2015, 01:35 PM

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>​

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 17 Jul 2015, 08:24 AM
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
Asked by
Ravi
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or