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

RadAjaxLoadingPanel only appears for the first item of Repeater

3 Answers 57 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Reda Ennair
Top achievements
Rank 1
Reda Ennair asked on 26 Aug 2010, 12:02 PM
Hi

I have placed a RadAjaxLoadingPanel on my page and referenced it on my RadAjaxManagerProxy like so:

The LoadingPanel is used to show a loading gif image when any item inside a repeater is deleted.

<telerik:RadAjaxLoadingPanel ID="MyLoadingPanel" runat="server" InitialDelayTime="0">
        <asp:Image ID="MyImage" runat="server" ImageUrl="~/images/icons/loading.gif" />
</telerik:RadAjaxLoadingPanel>


<telerik:AjaxSetting AjaxControlID="MyImage">
 <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="MyRepeater" />
    <telerik:AjaxUpdatedControl ControlID="MyLinkButton" LoadingPanelID="MyLoadingPanel"/>       
 </UpdatedControls>
</telerik:AjaxSetting>


The problem is that the loading panel only appears for the first item in the repeater. How can I get it to appear for each Repeater Item?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 26 Aug 2010, 12:18 PM
Hello Reda,

I would suggest you to wrap the Repeater into an asp Panel and add the whole Panel to update itself in the ajax settings. Check it out and let me know if it makes any difference.

Greetings,
Pavlina
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
0
Reda Ennair
Top achievements
Rank 1
answered on 26 Aug 2010, 01:35 PM
Hi Pavlina

Enclosing and update panel around the repeater didn't solve this issue - it's still the same. Any other suggestions?
0
Pavlina
Telerik team
answered on 26 Aug 2010, 02:05 PM
Hi Reda,

I followed your scenario and prepared a simple working project that is working as expected. Attached to this message, you will find the code which I used for testing.

Please, take a look at it and let me know what is the difference in your case.

All the best,
Pavlina
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
Tags
Ajax
Asked by
Reda Ennair
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Reda Ennair
Top achievements
Rank 1
Share this question
or