Hi, Thanks for your reply. We have below WebPart for button
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Add.ascx.cs" Inherits="CMSWebParts_TechDogs_SharedForLater_Add" %>
<cms:CMSUpdatePanel ID="UpdatePanelSaveForLater" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:LinkButton CssClass="save-for-later-btn" runat="server" ID="LnkSaveForLater" OnClick="LnkSaveForLater_Click" ValidationGroup="savedformore"><span class="fa fa-star-o"></span> Save for Later</asp:LinkButton>
<asp:LinkButton class="added-to" runat="server" ID="LnkSavedForLater" OnClick="LnkSavedForLater_Click" ValidationGroup="savedformore"><span class="fa fa-star"></span> Saved for Later</asp:LinkButton>
</ContentTemplate></cms:CMSUpdatePanel>
We observed that, when we click on this button and its calling the OnLoad of parent page. In foreground we cant see page reloading but it seems in background its reloading that parent page.
And below is the backend code for Add.ascx.cs file
public partial class CMSWebParts_TechDogs_SharedForLater_Add : CMSAbstractWebPart
{
#region Events
protected void Page_Load(object sender, EventArgs e)
Can you help us understand this?