How to access Repeater FooterTemplate TextBox?
<ul>
<li>What I am trying to do is to access the value from the TextBox1 to display back on the screen. </li>
<li>I tried to access it from the Page_Load() and the OnItemDataBound and they both failed. </li>
<li><p>It seem like the code is able to access the control but it return nothing back. </p>

<p>protected void Page_Load(object sender, EventArgs e)
    {</p>

<pre><code>    Literal Literal1 = (Literal)Repeater1.Controls[Repeater1.Controls.Count - 1].FindControl("Literal1");
    Response.Write(Literal1.Text);
    //this techique is not working for the line below
    TextBox TextBox1 = (TextBox)Repeater1.Controls[Repeater1.Controls.Count - 1].FindControl("TextBox1");
    Response.Write(TextBox1.Text);

}
public void myRepeater_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
    //this techique is not working
    if (e.Item.ItemType == ListItemType.Footer)
    {
        TextBox TextBox1 = (TextBox)e.Item.FindControl("TextBox1");
        Response.Write(TextBox1.Text);
    }
}
</code></pre></li>
</ul>
