コード例 #1
0
 /// <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;
     }
 }
コード例 #2
0
 protected void btnClear_Click(object sender, EventArgs e)
 {
     SyncLogInfoProvider.DeleteSyncLogInfo(taskId, serverId);
     gridLog.ReloadData();
 }