1
Answer

Update Panel not works in repeater control

Nilesh Patil

Nilesh Patil

7y
161
1
Hi all,
 
My update panel is not working in repeater control, LinkButton click is not works fine.
 
here is my code
 
<asp:UpdatePanel ID="updPnlMain" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
<table>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:Button ID="LinkButton1" runat="server" class="btn btn-primary" Style="color: #fff; background-color: #337ab7; border-color: #2e6da4; display: inline-block; padding: 6px 8px; margin-bottom: 0; border: 1px solid transparent; border-radius: 4px;"
OnClick="LinkButton1_Click" Text='<%#Eval("Row#") %>' />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>
 
Answers (1)