This is a migrated thread and some comments may be shown as answers.

RadUpload - File Open dialog issue in Fire Fox

1 Answer 63 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Bhaskar Rao
Top achievements
Rank 1
Bhaskar Rao asked on 08 Feb 2011, 10:47 PM

Hi,
There is an issue with Rad Upload control not loading File Open dialog box in Fire Fix. Please find belwo Rad Upload markup and Javascript function. This javascript function working perfectly in IE but not in Fire Fox because it doesn't allow File Input control to be clicked. Please provide a workaround for this issue.

Thanks in advance.

Rad Upload markup:

<telerik:RadUpload id="fileUploadImport" OnClientAdded="MakeKeyBoardAccessible"      OnClientFileSelected="validateBrowse" ReadOnlyFileInputs="true" EnableEmbeddedSkins="false" Skin="Default" AllowedFileExtensions=".txt"  ControlObjectsVisibility="None"  ToolTip="Browse"  runat="server">
<Localization Select = "Browse"/>
</telerik:RadUpload>


Javascript function:

function MakeKeyBoardAccessible(radUplaod, args) {

        args._row.all[3].onkeydown = function(e) {

            var keycode;

            if (window.event) keycode = window.event.keyCode;

            else if (e) keycode = e.which;

            else return true;

 

            if (keycode == 13) {

                args._row.all[1].click();

            }

        }

 }



Regards,
Bhaskar

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 11 Feb 2011, 01:00 PM
Hello Bhaskar Rao,

The click() property on an <input type='file' /> property is not supported in FireFox. It is a browser's decision and there is nothing we can do in order to change that behavior.

Kind regards,
Genady Sergeev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Upload (Obsolete)
Asked by
Bhaskar Rao
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or