Hello,
You will need to check the
Request.Form collection if it contains
UniqueID of the
button in the
ReloadData method instead of using the OnClick handler - same functionality, but different approach, OnClick event is not used:
<asp:Button runat="server" ID="custombtn" Text="Click" />
public override void ReloadData(bool forceLoad)
{
.
.
.
if (!String.IsNullOrEmpty(Request.Form[this.custombtn.UniqueID]))
{
// custom code
}
Best regards,
Michal Legen