Beispiel #1
0
    protected void PurchasedProductsGridView_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName != "Sort" && e.CommandName != "Page")
        {
            if (e.CommandName == "ConfirmIPNCommand")
            {
                var ipnId = Convert.ToInt32(PurchasedProductsGridView.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Text);

                MarketplaceManager.TryConfirmIPN(ipnId);

                PurchasedProductsGridView.DataBind();
            }
        }
    }
Beispiel #2
0
 protected void View3_Activate(object sender, EventArgs e)
 {
     PurchasedProductsGridView.DataBind();
 }