3 posts, 0 answers
  1. Ashraf
    Ashraf avatar
    40 posts
    Member since:
    Aug 2012

    Posted 22 Aug 2012 Link to this post

    i have RadAsyncUpload that upload multi files when files uploaded complete in

    FileUploaded event should rebind radgrid which display the files

    the problem is radgid1.Databind(); dosen't fire

    here is my code

    this ajaxmanger code

    <telerik:RadAjaxManager ID="RadAjaxManagerFileUpload" runat="server">

            <AjaxSettings >

                <telerik:AjaxSetting AjaxControlID="tlkasycupMultipleFile">


                        <telerik:AjaxUpdatedControl ControlID="tlkasycupMultipleFile" />

                        <telerik:AjaxUpdatedControl ControlID="radgSupAcctFileUploads"  />



                <telerik:AjaxSetting AjaxControlID="radgSupAcctFileUploads">


                        <telerik:AjaxUpdatedControl ControlID="radgSupAcctFileUploads" />





    Here is code behind

    protected  void tlkasycupMultipleFile_FileUploaded(object sender, Telerik.Web.UI.FileUploadedEventArgs e)


    //here code to save files in DB and its works fine

    // after that bind the RadGrid

      radgSupAcctFileUploads.DataSourceID = odsFileUploads.ID;



    This is my scenario 
  2. Ashraf
    Ashraf avatar
    40 posts
    Member since:
    Aug 2012

    Posted 23 Aug 2012 Link to this post

    when i use 
    <telerik:AjaxSetting AjaxControlID="RadAjaxManagerFileUpload">
                            <telerik:AjaxUpdatedControl ControlID="radgSupAcctFileUploads"  LoadingPanelID="RadAjaxLoadingPanelFileUpload"/>
    its work fine but this update other controls thus i don't make better performance
  3. DevCraft R3 2016 release webinar banner
  4. Tsvetina
    Tsvetina avatar
    1861 posts

    Posted 27 Aug 2012 Link to this post


    After we cleared this scenario out in your support ticket, I am posting here in case anyone else has the same scenario:
    When the grid is updated as a result of code ran after an ajaxRequest() call has been made, the setting is correct and all controls that are expected to be updated during this request should be listed as updated controls.
    This setting does not mean that each request in the page will update the grid, as the targets of requests are the actual controls that do the postback. This setting applies only to requests where the RadAjaxManager is a target.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top