TextBox inside repeater item empty
<p>The repeater template:</p>

<pre><code>&lt;ItemTemplate&gt;          
                &lt;div style="width:100%"&gt;
                    &lt;asp:Label style="display:none" ID="ArticleID" runat="server" text='&lt;%# DataBinder.Eval(Container.DataItem, "ArticleID") %&gt;'&gt;&lt;/asp:Label&gt;
                    &lt;asp:TextBox ID="ArticleOrder" runat="server"  Width="20px" value='&lt;%# DataBinder.Eval(Container.DataItem, "Order") %&gt;'&gt;&lt;/asp:TextBox&gt; 
                    &amp;nbsp;
                    &lt;a title="Edit Article"  href="javascript:void(0)" onclick="parent.document.location.href='/cms/Secured/Article/EditArticle.aspx?ArticleID=&lt;%# DataBinder.Eval(Container.DataItem, "ArticleID") %&gt;'"&gt;&lt;%# DataBinder.Eval(Container.DataItem, "Title") %&gt; &lt;/a&gt;
                    &amp;nbsp;
                    &lt;asp:LinkButton  id="delll" runat="server"   OnCommand ="Del" CommandName ='&lt;%# DataBinder.Eval(Container.DataItem, "ArticleID") %&gt;'&gt;(Delete)&lt;/asp:LinkButton&gt;

                    &lt;a   href="javascript:void(0)" onclick="window.open('CategoryArticleLocationReplace.aspx?Action=update&amp;CategoryID=&lt;%# Request.QueryString["CategoryID"].ToString()%&gt;&amp;LocationID=&lt;%# Request.QueryString["LocationID"].ToString()%&gt;&amp;OldArticleID=&lt;%# DataBinder.Eval(Container.DataItem, "ArticleID") %&gt;',null, 'height=200,width=200,status=no,toolbar=no' )"&gt;(Replace Article)&lt;/a&gt;
                    &amp;nbsp;

                &lt;/div&gt;

            &lt;/ItemTemplate&gt; 
</code></pre>

<p>The DB update code:</p>

<pre><code>protected void up_Click1(object sender, EventArgs e)
{
    foreach(RepeaterItem _item in rptArticleList.Items)
    {
        dcLigdol DB = new dcLigdol();
        TextBox tbArticleOrder = (TextBox)_item.FindControl("ArticleOrder");
        Label lblArticleID = (Label)_item.FindControl("ArticleID");
        byte ArticleOrder;
        if(tbArticleOrder.Text.Trim() == "")
            ArticleOrder = byte.Parse("99");
        else
            ArticleOrder = byte.Parse(tbArticleOrder.Text.Trim());
        int ArticleID = int.Parse(lblArticleID.Text.Trim());
        int CategoryID = int.Parse(Request.QueryString["CategoryID"].ToString().Trim());
        byte LocationID = byte.Parse(Request.QueryString["LocationID"].ToString().Trim());
        DB.spCategory_Article_Location_Order_Update(ArticleID, ArticleOrder, CategoryID, LocationID);

    }
    Show();
}
</code></pre>

<p>If I put a brakepoint within the loop, I get a tbArticleOrder.Text = "" each time.
I can't figure out why this isn't working.
Thank you!</p>
