I have 2 buttons in my page: 1- Add gift card 2- submit button, in back of submit button I would like to check if add gift card button had been pushed then do some logic. How I can check this.
This is the code at the back of submit button.
public void bSubmit_Click(object sender, EventArgs e)
{
decimal total = ProcessFlow.SessionVars.OrderTotals.InvoiceAmount;
decimal Amount = processGiftCard();
This is where I what to check if addgiftcard has been clicked
if (total - Amount > 0m) //GiftCard does not Cover , need CreditCard Info
{
processCreditCard();
}
else
{
Response.Redirect("Summary.aspx");
}
...
Go to the complete details ...