title: Display Ok/Cancel popup for each iteration within server-side loop?
body: <p>Is it possible to display a popup for every iteration within a <code>for</code>, <code>foreach</code> or any other server-side loop?</p>
  
  <p>For example, something like this:</p>
  
  <pre><code>foreach (GridDataItem item in RadGridEmps.MasterTableView.Items)
  {
      CheckBox ChkChange = item.FindControl("ChkChange") as CheckBox;
      if (ChkChange.Checked)
      {
          oldEmpId = item.GetDataKeyValue("oldEmpId").ToString();
          newEmpId = item.GetDataKeyValue("newEmpId").ToString();
  
          var msg = string.Format("Change from {0} to {1}?", oldEmpId, newEmpId);
          OkCancel_Popup(msg);
  
          if (OK)
              UpdateEmp(oldEmpId, newEmpId);
          else if (Cancel)
              //Do Nothing and go to following row
      }
  }
  </code></pre>