title: Get Repeater's Items
body: <p>I am trying to get all repeater's selected checkboxes of repeater's item just before page movement (pagination), and store them in some place.</p>
  
  <pre><code> foreach (RepeaterItem ri in rpt.Items)
    {        
        CheckBox box = (CheckBox)ri.FindControl("chkBox");
         if (box.Checked)
         {
            ...
         }
    }
  </code></pre>
  
  <p>The problem is where do i call this function from?
  I've tried to call it from ObjectDataSource1_Selected (I use objectdatasource to populate repeater) and ObjectDataSource1_Selecting but rpt.Items.Count is also 0.</p>
  
  <p>rpt_PreRender() event, returns the right number of items but it happens before the selection of checkboxes and not after.</p>
  
  <p>What can i do?</p>