asp.net - Multiple repeater in one updatepanel -
i have repeater inside updatepanel
of repeater have button. when click on of button, page refreshed.
how can use more repeater button inside updatepanel?
i :
<asp:updatepanel runat="server"> <contenttemplate> <script type="text/javascript"> sys.application.add_load(firejquery); function firejquery() { $(".usage").persiandatepicker(); } </script> <asp:repeater id="repeater1" runat="server" onitemcommand="rpteducation_itemcommand"> <itemtemplate> <div class="col-md-1"> <asp:button id="btnaddanother" runat="server" text='<%# databinder.eval(container.dataitem, "button") %>' commandname='<%# databinder.eval(container.dataitem, "button") %>' /> </div> </div> </itemtemplate> </asp:repeater> <asp:repeater id="rpteducation2" runat="server" onitemcommand="rpteducation_itemcommand"> <itemtemplate> <div class="col-md-1"> <asp:button id="btnaddanother" runat="server" text='<%# databinder.eval(container.dataitem, "button") %>' commandname='<%# databinder.eval(container.dataitem, "button") %>' /> </div> </div> </itemtemplate> </asp:repeater> <asp:repeater id="rpteducation3" runat="server" onitemcommand="rpteducation_itemcommand"> <itemtemplate> <div class="col-md-1"> <asp:button id="btnaddanother" runat="server" text='<%# databinder.eval(container.dataitem, "button") %>' commandname='<%# databinder.eval(container.dataitem, "button") %>' /> </div> </div> </itemtemplate> </asp:repeater> </contenttemplate> </asp:updatepanel>
Comments
Post a Comment