Exemplo n.º 1
0
        private void dgForum_DeleteCommand(object source, DataGridCommandEventArgs e)
        {
            int nodeId = int.Parse(e.CommandArgument.ToString());

            Issue2.DeleteForumMessage(IncidentId, nodeId);
            //Response.Redirect(this.Page.Request.RawUrl, true);
        }
Exemplo n.º 2
0
        private void dgForum_DeleteCommand(object source, DataGridCommandEventArgs e)
        {
            int nodeId = int.Parse(e.CommandArgument.ToString());

            Issue2.DeleteForumMessage(IncidentId, nodeId);
            Response.Redirect("../Incidents/IncidentView.aspx?IncidentId=" + IncidentId);
        }