updateprogress is showing in all rows in repeater at a time RRS feed

  • Question

  • User-1399352090 posted


    I have nested repeater.

    inside nested repeater i have added update panel and dropdownlist with AsyncPostBackTrigger.

    and also i  have added updateprogress panel. but if change selected index of dropdown the updateprogress showing in all rows at a time.

    here is my code:


    <asp:Repeater ID="rptUser" runat="server">
    <asp:Repeater ID="rptAddress" runat="server">
    						  <!--User image-->
    						  <img src="/images/profile.jpg" height="200px" alt="icon"/>
    						  <!-- User Address List-->
    						    <asp:UpdatePanel ID="updProductAddressList" UpdateMode="Conditional" runat="server">
     <asp:DropDownList ID="ddlAddress" OnSelectedIndexChanged="ddlAddress_SelectedIndexChanged" AutoPostBack="true"  runat="server">
    <asp:ListItem Value="1" Text="address one"></asp:ListItem>
    <asp:ListItem Value="2" Text="address two"></asp:ListItem>
    <asp:ListItem Value="3" Text="address there"></asp:ListItem>
    								<!--Show address details based on dropdown selection-->
    								 //address details//
    								<!--end address details-->
    								 <asp:UpdateProgress ID="updateProgress"  runat="server">
                                            <div style="text-align: center;">
                                                <img src="/images/loading-animation.gif" alt="loading.." />
    <asp:AsyncPostBackTrigger ControlID="ddlAddress" EventName="SelectedIndexChanged" />

    if i use AssociatedUpdatePanelID="updProductAddressList" ClientIDMode="AutoID"

    then updateprogress not showing. if i remove AssociatedUpdatePanelID then is showing in all rows

    Please help me.

    appreciate for quick response

    Thursday, August 27, 2015 6:13 AM

All replies