Newbie: Some help with the AjaxManager and a DataRepeater

4 posts, 0 answers
  1. Simon
    Simon avatar
    3 posts
    Member since:
    Feb 2015

    Posted 04 Mar 2015 Link to this post

    Folks, thanks for taking the time to read this.
    I have just started with Telerik controls and have found myself in a quandary.

    I have an ajax manager on my page, an AysnUpload and a datarepeater, populated on the server side. I upload a file to the server after more info has been requested from the user, via ajaxManager.ajaxRequest(), THEN, when the file is uploaded...this works by the way...I want to refresh the datarepeater.

    I have the following in my aspx file:
    <telerik:RadAjaxManager ID="ajaxManager" runat="server" EnablePageHeadUpdate="False">
            <telerik:AjaxSetting AjaxControlID="documentUploader">
                       <telerik:AjaxUpdatedControl ControlID="grdDocuments" />

    Now my confusion...what "ajax event" will be fired on "grdDocuments"? Meaning, what event do I hook up on the grid server side to refresh the data repeater via the AjaxUpdatedControl setting? Or am I misunderstanding the setting itself?

    I am at a loss to understanding the AjaxUpdatedControl setting. In my server-side handling of the file uploaded via ajax I do rebind the grid and it fires, it just does not refresh on the page...unless I reload of course.

    Please don't hesitate to ask for any further info.
    Thanks in advance

  2. Simon
    Simon avatar
    3 posts
    Member since:
    Feb 2015

    Posted 07 Mar 2015 Link to this post

    I was missing an UpdatePanel!
  3. DevCraft R3 2016 release webinar banner
  4. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 09 Mar 2015 Link to this post

    Hello Simon,

    Can you please let me know if you were able to fix the issue using an UpdatePanel as you mentioned in your other post or if you still need assistance on this case?

    Maria Ilieva

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  5. Simon
    Simon avatar
    3 posts
    Member since:
    Feb 2015

    Posted 09 Mar 2015 in reply to Maria Ilieva Link to this post

    Hey Maria.
    Yes this is all resolved now. Thanks
Back to Top