RadAsyncUpload and ajax postback onClientfileUploaded event

Thread is closed for posting
2 posts, 0 answers
  1. Canis Lupus
    Canis Lupus avatar
    9 posts
    Member since:
    Aug 2012

    Posted 30 Jan 2011 Link to this post

    I have a RadAsyncUpload control and a DataList control in a webpage. With RadAsyncUpload control I am inserting images into my sqldatabase. I would like to fire a postback action for only datalist control in my webpage after a fileupload completed. How can I fire that postback on clint side?

    Thank you.
  2. Genady Sergeev
    Genady Sergeev avatar
    1595 posts

    Posted 03 Feb 2011 Link to this post

    Hi Canis Lupus,

    The DataList control doesn't have client-side object so you can hardly fire its events from the client. Why would you want to do that?

    By default, the user should click on the insert/update buttons, for example, in order to fire the respective server-side event. You can try to inspect the insert button using a tool like firebug in order to see how the DataList postbacks to the server (I guess it is using the __doPostBack function) and manually call it. However, this sounds like a hack to me, since such events should be triggered by the user. Could you please share what you are trying to achieve?

    Best wishes,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top