Example #1
0
        protected void btnDelete_Click(object sender, EventArgs e)
        {
            Template_Workflow WorkflowTemplateManager = new Template_Workflow();

            WorkflowTemplateManager.DeleteWorkflowTemplate(this.iWorkflowTemplateID);
            // success
            this.ClientScript.RegisterClientScriptBlock(this.GetType(), "_Success", "$('#divContainer').hide();alert('Delete workflow template successfully.');window.parent.location.href='WorkflowTemplateList.aspx';", true);
        }