title: User Controls in Repeater
body: <p>I have a usercontrol that provides voting buttons (for a SO type voting model) - it contains a private int member that retains the id of the record. Outside a repeater, it functions just fine - postbacks work, and the correct id is retained in the user control. </p>
  
  <p>Inside the repeater, an itemdatabound event handler associates the correct ID with the usercontrol and it works correctly - displays the correct vote count from the database. When one of the voting buttons is pressed, though, it fires a postback to the usercontrol and the control has lost the contents of its private int member so it no longer functions.</p>
  
  <p>I've tried both re-databinding the usercontrol on postback, and binding it only on the initial load - the problem is the same both ways.</p>
  
  <p>How do I get the usercontrol to retain the value of that int across postbacks?</p>