/// <summary> /// UniGrid action event handler. /// </summary> protected void gridLog_OnAction(string actionName, object actionArgument) { switch (actionName.ToLowerCSafe()) { case "delete": int logid = ValidationHelper.GetInteger(actionArgument, 0); if (logid > 0) { IntegrationSyncLogInfoProvider.DeleteIntegrationSyncLogInfo(logid); } break; } }
protected void btnClear_Click(object sender, EventArgs e) { IntegrationSyncLogInfoProvider.DeleteIntegrationSyncLogs(SynchronizationID); gridLog.ReloadData(); }