RadAsyncUpload JScript error

Thread is closed for posting
9 posts, 1 answers
  1. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 06 Aug 2010 Link to this post

    I am using VS2010, RadControls for ASP.NET AJAX Q2 2010 with ASP.NET 4.0.

    I have the following on my page:
    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" OnClientFileSelected="onFileSelected" OnClientFileUploaded="onFileUploaded" ReadOnlyFileInputs="true">
    </telerik:RadAsyncUpload>

    When I load my page, I get an error in IE8 in this function:
     
    function
    __flash__addCallback(instance, name) {
    instance[name] = 
     
    function () { return eval(instance.CallFunction("<invoke name=\""+name+"\" returntype=\"javascript\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));
    }
    }

    The Call Function is is try to load is this:
    <invoke name="setFileFilters" returntype="javascript"><arguments><array></array><false/></arguments></invoke>

    I have tried using the latest internal builds as well as this version and it is the same.

    What might be the problem?

  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Aug 2010 Link to this post

    Hi Jeff,

    I'm not able to reproduce this issue at our side. Could you please send us a runnable page demonstrating the problem? Thanks

    Best wishes,
    Yana
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 10 Aug 2010 Link to this post

    It looks like the problem is when I have a Rad Async Upload control in a Panel with a Ajax Control Toolkit RoundCornersExtender applied to it.

    <

     

     

    asp:RoundedCornersExtender ID="RoundedCornersExtender1" TargetControlID="AddPanel" runat="server" Radius="4" BorderColor="Black" Corners="All">

     

    </

     

     

    asp:RoundedCornersExtender>

    When I remove the this extender, everything works correctly.

    Thanks,
    --Jeff

     

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 11 Aug 2010 Link to this post

    Hello Jeff,

    Is this panel initially invisible? I'm asking because we have logged similar issue recently.

    Best regards,
    Yana
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  6. Daniel Gioulakis
    Daniel Gioulakis avatar
    7 posts
    Member since:
    Feb 2010

    Posted 07 Sep 2010 Link to this post

    We're experiencing this issue as well.  The panel containing the RadAsyncUploader is initially NOT visible.

    Our application then breaks throwing the error:

    Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Sep 2010 Link to this post

    Hello Daniel,

    Could you please download the latest internal build and try with it? Let us know the result.

    Best wishes,
    Yana
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  8. Dang
    Dang avatar
    2 posts
    Member since:
    Jun 2010

    Posted 12 Sep 2010 Link to this post

    I'm getting exactly the same error as the op.

    This only started when I upgraded to the latest version. Before it was working fine (version 2010.1.519).

    My upload is also initially not visible.

    Any updates on what the issue could be?
  9. Dang
    Dang avatar
    2 posts
    Member since:
    Jun 2010

    Posted 13 Sep 2010 Link to this post

    Just worked out the issue.
    New version uses flash which may cause upload to break in IE. 

    Disabled the flash and everything is happy again...

    RadAsyncUpload.Modules.Flash.isAvailable = function() { return false; };

  10. Daniel Gioulakis
    Daniel Gioulakis avatar
    7 posts
    Member since:
    Feb 2010

    Posted 15 Sep 2010 Link to this post

    Seemed to fix it on our end. Your help is much appreciated. Thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017