/// <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) { SyncLogInfoProvider.DeleteSyncLogInfo(logid); } break; } }
protected void btnClear_Click(object sender, EventArgs e) { SyncLogInfoProvider.DeleteSyncLogInfo(taskId, serverId); gridLog.ReloadData(); }