protected void ModulesGridView_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            string commandArg = e.CommandArgument.ToString();
            int    moduleId;

            if (commandArg != string.Empty)
            {
                string command = e.CommandName;

                if (command == "SortUp")
                {
                    moduleId = int.Parse(commandArg);
                    WebModule.SortWebModuleUp(_instanceId, moduleId);
                }
                else if (command == "SortDown")
                {
                    moduleId = int.Parse(commandArg);
                    WebModule.SortWebModuleDown(_instanceId, moduleId);
                }
                else if (command == "DeleteModule")
                {
                    moduleId = int.Parse(commandArg);
                    Response.Redirect("ModuleDelete.aspx?moduleID=" + moduleId + "&instanceID=" + _instanceId);
                }
                else if (command == "ViewShares")
                {
                    moduleId = int.Parse(commandArg);
                    Response.Redirect("PagesSharingModule.aspx?moduleID=" + moduleId + "&instanceID=" + _instanceId);
                }

                LoadModules();
            }
        }