AsyncUpload on UserControl not firing fileuploaded event

6 posts, 0 answers
  1. Sabrina Schubert
    Sabrina Schubert avatar
    5 posts
    Member since:
    May 2010

    Posted 28 May 2010 Link to this post

    Hi All,

    I have a requirement of having a async upload control with binary image control on a user control and this user control will be attached with an aspx file. So the issue here is the "FileUploaded" event is not triggered; when i select the file thereby, i was not able to display the thumbnail in binary image control. As guided in the online demo, i've added the ajax manager & respective javascript; but it throws a java script error.

    Can anyone has faced this issue and has a solution? Please share

    Cheers,
    Sathish. R
  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 28 May 2010 Link to this post

    Hi Sabrina,

    What is the javascript error that is being thrown?

    Kind regards,
    Dimitar Milushev
    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. Sabrina Schubert
    Sabrina Schubert avatar
    5 posts
    Member since:
    May 2010

    Posted 28 May 2010 Link to this post

    Hi Dimitar,

    I get the following Java Script error:

    "null or not an object".

    Cheers,
    Sathish. R
  5. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 02 Jun 2010 Link to this post

    Hello Sabrina,

    I wasn't able to reproduce the problem locally. Can you please check the attached test project and let me know if I am missing something about your scenario?

    Regards,
    Dimitar Milushev
    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. Willem
    Willem avatar
    23 posts
    Member since:
    Dec 2007

    Posted 25 Jul 2011 Link to this post

    Does this mean that i always need to implement a client side OnClientFileUploaded="fileUploaded" before the server side uploaded event is fired?
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 26 Jul 2011 Link to this post

    Hello Willem,

    To implement the following scenario, you need to subscribe to the OnClientFileUploaded client-side event and trigger a postback after an image is uploaded. When a postback occurs the FileUploaded server event is fired for the uploaded file.

    All the best,
    Peter Filipov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017