This is a migrated thread and some comments may be shown as answers.

Newbie: Some help with the AjaxManager and a DataRepeater

3 Answers 11 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 04 Mar 2015, 01:55 PM
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">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="documentUploader">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="grdDocuments" />
                  </UpdatedControls>
          </telerik:AjaxSetting>
       </AjaxSettings>
 </telerik:RadAjaxManager>

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

3 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 07 Mar 2015, 09:59 PM
I was missing an UpdatePanel!
0
Maria Ilieva
Telerik team
answered on 09 Mar 2015, 11:57 AM
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?

Regards,
Maria Ilieva
Telerik
 

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.

 
0
Simon
Top achievements
Rank 1
answered on 09 Mar 2015, 12:06 PM
Hey Maria.
Yes this is all resolved now. Thanks
Tags
Ajax
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or