/// <summary>
        /// Handles clicks from links in the "My Modules" table.
        /// </summary>
        /// <param name="source"></param>
        /// <param name="e"></param>
        private void ModulesGrid_ItemCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
        {
            int moduleID = Convert.ToInt32(e.CommandArgument);

            if (e.CommandName == "Delete")
            {
                ModulesControl.removeModule(moduleID);
                bindModuleGrid();
            }
            else if (e.CommandName == "Edit")
            {
                if (!User.IsInRole("Administrator"))
                {
                    ModulesControl.checkOutModule(moduleID, User.Identity.Name);
                }
                Response.Redirect("editModule.aspx?moduleID=" + moduleID);
            }
            else if (e.CommandName == "Undo")
            {
                ModulesControl.undoCheckOut(moduleID);
                bindModuleGrid();
            }
        }
 /// <summary>
 /// Ignore changes to the module and undo the module check out.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void CancelBtn_Click(object sender, System.EventArgs e)
 {
     ModulesControl.undoCheckOut(ModuleID);
     Response.Redirect("MyAccount.aspx", true);
 }