AsyncPostBackTrigger to update panel

pollutioN

New Member
I am using a Dropdownlist which is filtering the results based on regions.I am displaying its results inside a update panel. I am using AsyncPostBackTrigger to update the Panel. When the value of DDL is changed it works fine but the problem is when I change the value of DDL it updates the panel with new reults but also shows the old results. I want it to show only new results.Any idea? \[code\] </div> <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <a href="http://stackoverflow.com/questions/15644170/offers.aspx?type=stay&id=1#poster-<%# Eval("Offers_OfferId") %>"> <div class="offerbox"> <div class="offerimage"> <img src="http://stackoverflow.com/questions/15644170/Images/OfferImages/BigImages/<%# Eval("Offers_OfferBigImg")%>" width="175" height="127" alt=""> </div> <div class="offername"> <p class="offertitle" ><%# Eval("Offers_OfferName")%></p> <p class="offerpropertyname"><%# Eval("Properties_PropertyName")%></p> <img src="http://stackoverflow.com/questions/15644170/images/line.jpg"> <p class="saving"><%# Eval("Offers_OfferPercentageofSaving")%></p> <div style="float:left;"> </div> <div style="float:right;margin-top: 10px;"> <img src="http://stackoverflow.com/questions/15644170/images/readme.jpg" /></div> </div> <!-- offername --> </div><!-- offerbox --></a> </ItemTemplate> </asp:Repeater> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="DropDownList1" /> </Triggers></asp:UpdatePanel>\[/code\]
 
Back
Top