RadAjaxLoadingPanel only appears for the first item of Repeater

4 posts, 0 answers
  1. Reda Ennair
    Reda Ennair avatar
    12 posts
    Member since:
    May 2010

    Posted 26 Aug 2010 Link to this post

    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.
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 26 Aug 2010 Link to this post

    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
  3. Reda Ennair
    Reda Ennair avatar
    12 posts
    Member since:
    May 2010

    Posted 26 Aug 2010 Link to this post

    Hi Pavlina

    Enclosing and update panel around the repeater didn't solve this issue - it's still the same. Any other suggestions?
  4. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 26 Aug 2010 Link to this post

    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
Back to Top