Hi,
When I use Button inside Update panel it doesnot fire click event but outside the update panel it works.
here is the code
- <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional"
- ChildrenAsTriggers="true">
- <ContentTemplate>
- <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#") %>' />
- </ContentTemplate>
- <Triggers>
- <asp:AsyncPostBackTrigger ControlID="LinkButton1" EventName="Click" />
- </Triggers>
- </asp:UpdatePanel>