/// <summary>
        /// Deletes the milestone.
        /// </summary>
        /// <param name="s">The s.</param>
        /// <param name="e">The <see cref="System.Web.UI.WebControls.DataGridCommandEventArgs"/> instance containing the event data.</param>
        protected void grdResolutions_Delete(Object s, DataGridCommandEventArgs e)
        {
            var    id = (int)grdResolutions.DataKeys[e.Item.ItemIndex];
            string cannotDeleteMessage;

            if (!ResolutionManager.Delete(id, out cannotDeleteMessage))
            {
                ActionMessage.ShowErrorMessage(cannotDeleteMessage);
                return;
            }

            BindResolutions();
        }