예제 #1
0
    protected void vDelete_Click(object sender, EventArgs e)
    {
        try
        {
            OrderItemManager.Remove(_OrderItem);

            ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Message", "alert('刪除成功');window.parent.$.fancybox.close();", true);
        }
        catch (Exception ex)
        {
            LeftHand.Gadget.Dialog.Alert(ex.Message);
        }
    }