jQuery UI Widgets Forums Editors FileUpload i am using jqxFileupload getting Access Denied Error in IE10

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • dammu.suresh
    Participant

    Hi Guys ,

    I am using jqxFileupload Getting Access Denied error in IE10 but Chrome and firefox working fine “b.form[0].submit();” in jqxFileUpload.js

    please see below my code

    <html lang=”en”>
    <head>
    <title id=”Description”>
    This demo showcases the jqxFileUpload events – ‘select’, ‘cancel’, ‘uploadStart’
    and ‘uploadEnd’. The ‘uploadEnd’ event returns the server response after an upload
    attempt as an argument. For uploading files, you should set the “uploadUrl” property to point to a Web Server file that will handle the actual Upload proces.
    </title>
    <link rel=”stylesheet” href=”~/jqwidgets/styles/jqx.base.css” type=”text/css” />
    <script src=”~/Script1/jquery-1.11.1.min.js”></script>
    <script type=”text/javascript” src=”~/jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”~/jqwidgets/jqxscrollbar.js”></script>
    <script type=”text/javascript” src=”~/jqwidgets/jqxbuttons.js”></script>
    <script src=”~/jqwidgets/jqxpanel.js”></script>
    <script src=”~/jqwidgets/jqxfileupload.js”></script>

    @*<script type=”text/javascript” src=”../../scripts/demos.js”></script>*@
    <script type=”text/javascript”>
    $(document).ready(function () {
    $(‘#jqxFileUpload’).jqxFileUpload({
    theme: ‘summer’,
    browseTemplate: ‘success’,
    uploadTemplate: ‘primary’,
    cancelTemplate: ‘warning’,
    width: 300,
    uploadUrl: ‘@Url.Action(“About”)’,
    fileInputName: ‘fileToUpload’
    });
    $(‘#eventsPanel’).jqxPanel({ width: 300, height: 150 });
    $(‘#jqxFileUpload’).on(‘select’, function (event) {
    var fileName = event.args.file;
    $(‘#eventsPanel’).jqxPanel(‘append’, ‘‘ + event.type + ‘: ‘ + fileName + ‘<br />’);
    });
    $(‘#jqxFileUpload’).on(‘remove’, function (event) {
    debugger;
    var fileName = event.args.file;
    $(‘#eventsPanel’).jqxPanel(‘append’, ‘‘ + event.type + ‘: ‘ + fileName + ‘<br />’);
    });
    $(‘#jqxFileUpload’).on(‘uploadStart’, function (event) {
    var fileName = event.args.file;
    $(‘#eventsPanel’).jqxPanel(‘append’, ‘‘ + event.type + ‘: ‘ + fileName + ‘<br />’);
    });
    $(‘#jqxFileUpload’).on(‘uploadEnd’, function (event) {
    debugger;
    var args = event.args;
    var fileName = args.file;
    var serverResponce = args.response;
    $(‘#eventsPanel’).jqxPanel(‘append’, ‘‘ + event.type + ‘: ‘ +
    fileName + ‘;<br />’ + ‘server response: ‘ + serverResponce + ‘<br />’);
    });
    });
    </script>
    </head>
    <body>
    <div id=”jqxFileUpload” style=”float: left;”>
    </div>
    <div style=”float: left; margin-left: 50px;”>
    <div style=”margin-bottom: 10px; font-family: Verdana; font-size: smaller;”>
    Events log:
    </div>
    <div id=”eventsPanel”>
    </div>
    </div>
    </body>
    </html>


    Dimitar
    Participant

    Hi dammu.suresh,

    This matter has already been discussed in the following forum topic: http://www.jqwidgets.com/community/topic/javascript-runtime-error-access-is-denied/.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.