Add your button this way:
<px:PXButton runat="server" ID="btnSanctionsResult" Text="SanctionsResult">
<AutoCallBack Command="SanctionsResult" Target="ds" /></px:PXButton>
You need to use the Command
from AutoCallBack
, and set the Target
to the data souce (ds).