title: How to retrieve TD value of table column (ID) which is inside a repeater
body: <p>I have a repeater with a HTML Table layout as follows where it fills from the database dynamically,</p>
  
  <pre><code>&lt;asp:Repeater ID="Repeater1" runat="server"&gt;
  &lt;HeaderTemplate&gt;
      &lt;table border="1"&gt;
          &lt;tr&gt;
              &lt;th colspan="2"&gt;&lt;/th&gt;
          &lt;/tr&gt;
  &lt;/HeaderTemplate&gt;
  &lt;ItemTemplate&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;%# DataBinder.Eval(Container.DataItem, "QuestionId") %&gt; &lt;asp:HiddenField ID="hiddenField" Value='&lt;%# DataBinder.Eval(Container.DataItem, "QuestionId") %&gt;' runat="server" /&gt; &lt;/td&gt;
          &lt;td&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td colspan="4"&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Question") %&gt; &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;asp:RadioButton ID="op1" runat="server" OnCheckedChange="check_Answer"/&gt;&lt;/td&gt;&lt;td&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Answer1") %&gt; &lt;/td&gt;&lt;/tr&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;asp:RadioButton ID="op2" runat="server" OnCheckedChange="check_Answer"/&gt;&lt;/td&gt;&lt;td&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Answer2") %&gt; &lt;/td&gt;&lt;/tr&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;asp:RadioButton ID="op3" runat="server" OnCheckedChange="check_Answer"/&gt;&lt;/td&gt;&lt;td&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Answer3") %&gt; &lt;/td&gt;&lt;/tr&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;asp:RadioButton ID="op4" runat="server" OnCheckedChange="check_Answer"/&gt;&lt;/td&gt;&lt;td&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Answer4") %&gt; &lt;/td&gt;&lt;/tr&gt;
              &lt;/table&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/ItemTemplate&gt;
  &lt;FooterTemplate&gt;
      &lt;/table&gt;
  &lt;/FooterTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>In Code Behind</p>
  
  <pre><code>protected void check_Answer(object sender, EventArgs e)
      {
          RepeaterItem item = (sender as RadioButton).Parent as RepeaterItem;
          HiddenField hiddenField = item.FindControl("hiddenField") as HiddenField;
  
          String questionId = hiddenField.Value;
          Session["test"] = questionId;/*Just added to a session and passed to test page*/
          Response.Redirect("test.aspx");/*This Page Displays the value of Session["test"]*/
      }
  </code></pre>
  
  <p>Now what I need to do is OnCheckedChange event for the radio buttons  it calls a code behind method, but should pass the QuestionID value to the method. Please suggest me a way to retrieve the  value which contains the "QuestionID". For More Information the real interface looks like below,
  <img src="https://i.stack.imgur.com/1Uqja.png" alt="enter image description here"></p>